Class AccountSkuAutoGenerated

java.lang.Object
com.azure.resourcemanager.purview.models.AccountSkuAutoGenerated
Direct Known Subclasses:
AccountSku

public class AccountSkuAutoGenerated extends Object
The Sku.
  • Constructor Details

    • AccountSkuAutoGenerated

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

    • capacity

      public Integer capacity()
      Get the capacity property: Gets or sets the sku capacity.
      Returns:
      the capacity value.
    • withCapacity

      public AccountSkuAutoGenerated withCapacity(Integer capacity)
      Set the capacity property: Gets or sets the sku capacity.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the AccountSkuAutoGenerated object itself.
    • name

      public Name name()
      Get the name property: Gets or sets the sku name.
      Returns:
      the name value.
    • withName

      public AccountSkuAutoGenerated withName(Name name)
      Set the name property: Gets or sets the sku name.
      Parameters:
      name - the name value to set.
      Returns:
      the AccountSkuAutoGenerated object itself.
    • validate

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