Class PutAliasRequestProperties

java.lang.Object
com.azure.resourcemanager.subscription.models.PutAliasRequestProperties

public final class PutAliasRequestProperties extends Object
Put subscription properties.
  • Constructor Details

    • PutAliasRequestProperties

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

    • displayName

      public String displayName()
      Get the displayName property: The friendly name of the subscription.
      Returns:
      the displayName value.
    • withDisplayName

      public PutAliasRequestProperties withDisplayName(String displayName)
      Set the displayName property: The friendly name of the subscription.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the PutAliasRequestProperties object itself.
    • workload

      public Workload workload()
      Get the workload property: The workload type of the subscription. It can be either Production or DevTest.
      Returns:
      the workload value.
    • withWorkload

      public PutAliasRequestProperties withWorkload(Workload workload)
      Set the workload property: The workload type of the subscription. It can be either Production or DevTest.
      Parameters:
      workload - the workload value to set.
      Returns:
      the PutAliasRequestProperties object itself.
    • billingScope

      public String billingScope()
      Get the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.
      Returns:
      the billingScope value.
    • withBillingScope

      public PutAliasRequestProperties withBillingScope(String billingScope)
      Set the billingScope property: Determines whether subscription is fieldLed, partnerLed or LegacyEA.
      Parameters:
      billingScope - the billingScope value to set.
      Returns:
      the PutAliasRequestProperties object itself.
    • subscriptionId

      public String subscriptionId()
      Get the subscriptionId property: This parameter can be used to create alias for existing subscription Id.
      Returns:
      the subscriptionId value.
    • withSubscriptionId

      public PutAliasRequestProperties withSubscriptionId(String subscriptionId)
      Set the subscriptionId property: This parameter can be used to create alias for existing subscription Id.
      Parameters:
      subscriptionId - the subscriptionId value to set.
      Returns:
      the PutAliasRequestProperties object itself.
    • resellerId

      public String resellerId()
      Get the resellerId property: Reseller ID, basically MPN Id.
      Returns:
      the resellerId value.
    • withResellerId

      public PutAliasRequestProperties withResellerId(String resellerId)
      Set the resellerId property: Reseller ID, basically MPN Id.
      Parameters:
      resellerId - the resellerId value to set.
      Returns:
      the PutAliasRequestProperties object itself.
    • validate

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