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 Details

    • CustomerSubscriptionInner

      public CustomerSubscriptionInner()
      Creates an instance of CustomerSubscriptionInner class.
  • Method Details

    • etag

      public String etag()
      Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.
      Returns:
      the etag value.
    • withEtag

      public CustomerSubscriptionInner withEtag(String etag)
      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

      public String tenantId()
      Get the tenantId property: Tenant Id.
      Returns:
      the tenantId value.
    • withTenantId

      public CustomerSubscriptionInner withTenantId(String tenantId)
      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.