PutAliasRequestAdditionalProperties Class

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

Implements

public final class PutAliasRequestAdditionalProperties
implements JsonSerializable<PutAliasRequestAdditionalProperties>

Put subscription additional properties.

Constructor Summary

Constructor Description
PutAliasRequestAdditionalProperties()

Creates an instance of PutAliasRequestAdditionalProperties class.

Method Summary

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

Reads an instance of PutAliasRequestAdditionalProperties from the JsonReader.

String managementGroupId()

Get the managementGroupId property: Management group Id for the subscription.

String subscriptionOwnerId()

Get the subscriptionOwnerId property: Owner Id of the subscription.

String subscriptionTenantId()

Get the subscriptionTenantId property: Tenant Id of the subscription.

Map<String,String> tags()

Get the tags property: Tags for the subscription.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

PutAliasRequestAdditionalProperties withManagementGroupId(String managementGroupId)

Set the managementGroupId property: Management group Id for the subscription.

PutAliasRequestAdditionalProperties withSubscriptionOwnerId(String subscriptionOwnerId)

Set the subscriptionOwnerId property: Owner Id of the subscription.

PutAliasRequestAdditionalProperties withSubscriptionTenantId(String subscriptionTenantId)

Set the subscriptionTenantId property: Tenant Id of the subscription.

PutAliasRequestAdditionalProperties withTags(Map<String,String> tags)

Set the tags property: Tags for the subscription.

Methods inherited from java.lang.Object

Constructor Details

PutAliasRequestAdditionalProperties

public PutAliasRequestAdditionalProperties()

Creates an instance of PutAliasRequestAdditionalProperties class.

Method Details

fromJson

public static PutAliasRequestAdditionalProperties fromJson(JsonReader jsonReader)

Reads an instance of PutAliasRequestAdditionalProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PutAliasRequestAdditionalProperties 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 PutAliasRequestAdditionalProperties.

managementGroupId

public String managementGroupId()

Get the managementGroupId property: Management group Id for the subscription.

Returns:

the managementGroupId value.

subscriptionOwnerId

public String subscriptionOwnerId()

Get the subscriptionOwnerId property: Owner Id of the subscription.

Returns:

the subscriptionOwnerId value.

subscriptionTenantId

public String subscriptionTenantId()

Get the subscriptionTenantId property: Tenant Id of the subscription.

Returns:

the subscriptionTenantId value.

tags

public Map<String,String> tags()

Get the tags property: Tags for the subscription.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withManagementGroupId

public PutAliasRequestAdditionalProperties withManagementGroupId(String managementGroupId)

Set the managementGroupId property: Management group Id for the subscription.

Parameters:

managementGroupId - the managementGroupId value to set.

Returns:

the PutAliasRequestAdditionalProperties object itself.

withSubscriptionOwnerId

public PutAliasRequestAdditionalProperties withSubscriptionOwnerId(String subscriptionOwnerId)

Set the subscriptionOwnerId property: Owner Id of the subscription.

Parameters:

subscriptionOwnerId - the subscriptionOwnerId value to set.

Returns:

the PutAliasRequestAdditionalProperties object itself.

withSubscriptionTenantId

public PutAliasRequestAdditionalProperties withSubscriptionTenantId(String subscriptionTenantId)

Set the subscriptionTenantId property: Tenant Id of the subscription.

Parameters:

subscriptionTenantId - the subscriptionTenantId value to set.

Returns:

the PutAliasRequestAdditionalProperties object itself.

withTags

public PutAliasRequestAdditionalProperties withTags(Map<String,String> tags)

Set the tags property: Tags for the subscription.

Parameters:

tags - the tags value to set.

Returns:

the PutAliasRequestAdditionalProperties object itself.

Applies to