java.lang.Object
com.azure.resourcemanager.automation.models.Sku

public final class Sku extends Object
The account SKU.
  • Constructor Details

    • Sku

      public Sku()
  • Method Details

    • name

      public SkuNameEnum name()
      Get the name property: Gets or sets the SKU name of the account.
      Returns:
      the name value.
    • withName

      public Sku withName(SkuNameEnum name)
      Set the name property: Gets or sets the SKU name of the account.
      Parameters:
      name - the name value to set.
      Returns:
      the Sku object itself.
    • family

      public String family()
      Get the family property: Gets or sets the SKU family.
      Returns:
      the family value.
    • withFamily

      public Sku withFamily(String family)
      Set the family property: Gets or sets the SKU family.
      Parameters:
      family - the family value to set.
      Returns:
      the Sku object itself.
    • capacity

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

      public Sku withCapacity(Integer capacity)
      Set the capacity property: Gets or sets the SKU capacity.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the Sku object itself.
    • validate

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