Class CustomerSubscriptionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.azurestack.fluent.models.CustomerSubscriptionInner
public final class CustomerSubscriptionInner
extends com.azure.core.management.ProxyResource
Customer subscription.
-
Constructor Summary
ConstructorDescriptionCreates an instance of CustomerSubscriptionInner class. -
Method Summary
Modifier and TypeMethodDescriptionetag()
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.tenantId()
Get the tenantId property: Tenant Id.void
validate()
Validates the instance.Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.withTenantId
(String tenantId) Set the tenantId property: Tenant Id.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
CustomerSubscriptionInner
public CustomerSubscriptionInner()Creates an instance of CustomerSubscriptionInner class.
-
-
Method Details
-
etag
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.- Returns:
- the etag value.
-
withEtag
Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.- Parameters:
etag
- the etag value to set.- Returns:
- the CustomerSubscriptionInner object itself.
-
tenantId
Get the tenantId property: Tenant Id.- Returns:
- the tenantId value.
-
withTenantId
Set the tenantId property: Tenant Id.- Parameters:
tenantId
- the tenantId value to set.- Returns:
- the CustomerSubscriptionInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-