Class RegistrationInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.azurestack.fluent.models.RegistrationInner

public final class RegistrationInner extends com.azure.core.management.Resource
Registration information.
  • Constructor Details

    • RegistrationInner

      public RegistrationInner()
      Creates an instance of RegistrationInner 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 RegistrationInner 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 RegistrationInner object itself.
    • withLocation

      public RegistrationInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public RegistrationInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • objectId

      public String objectId()
      Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.
      Returns:
      the objectId value.
    • withObjectId

      public RegistrationInner withObjectId(String objectId)
      Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.
      Parameters:
      objectId - the objectId value to set.
      Returns:
      the RegistrationInner object itself.
    • cloudId

      public String cloudId()
      Get the cloudId property: The identifier of the registered Azure Stack.
      Returns:
      the cloudId value.
    • withCloudId

      public RegistrationInner withCloudId(String cloudId)
      Set the cloudId property: The identifier of the registered Azure Stack.
      Parameters:
      cloudId - the cloudId value to set.
      Returns:
      the RegistrationInner object itself.
    • billingModel

      public String billingModel()
      Get the billingModel property: Specifies the billing mode for the Azure Stack registration.
      Returns:
      the billingModel value.
    • withBillingModel

      public RegistrationInner withBillingModel(String billingModel)
      Set the billingModel property: Specifies the billing mode for the Azure Stack registration.
      Parameters:
      billingModel - the billingModel value to set.
      Returns:
      the RegistrationInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.