PutAliasResponseProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.subscription.models.PutAliasResponseProperties

Implements

public final class PutAliasResponseProperties
implements JsonSerializable<PutAliasResponseProperties>

Put subscription creation result properties.

Constructor Summary

Constructor Description
PutAliasResponseProperties()

Creates an instance of PutAliasResponseProperties class.

Method Summary

Modifier and Type Method and Description
static PutAliasResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of PutAliasResponseProperties from the JsonReader.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

String subscriptionId()

Get the subscriptionId property: Newly created subscription Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PutAliasResponseProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioning state of the resource.

Methods inherited from java.lang.Object

Constructor Details

PutAliasResponseProperties

public PutAliasResponseProperties()

Creates an instance of PutAliasResponseProperties class.

Method Details

fromJson

public static PutAliasResponseProperties fromJson(JsonReader jsonReader)

Reads an instance of PutAliasResponseProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PutAliasResponseProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the PutAliasResponseProperties.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

subscriptionId

public String subscriptionId()

Get the subscriptionId property: Newly created subscription Id.

Returns:

the subscriptionId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withProvisioningState

public PutAliasResponseProperties withProvisioningState(ProvisioningState provisioningState)

Set the provisioningState property: The provisioning state of the resource.

Parameters:

provisioningState - the provisioningState value to set.

Returns:

the PutAliasResponseProperties object itself.

Applies to