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

public final class Sku extends Object
The SKU name. Required for account creation; optional for update.
  • Constructor Details

    • Sku

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

    • name

      public SkuName name()
      Get the name property: The sku name.
      Returns:
      the name value.
    • withName

      public Sku withName(SkuName name)
      Set the name property: The sku name.
      Parameters:
      name - the name value to set.
      Returns:
      the Sku object itself.
    • tier

      public SkuTier tier()
      Get the tier property: The sku tier.
      Returns:
      the tier value.
    • withTier

      public Sku withTier(SkuTier tier)
      Set the tier property: The sku tier.
      Parameters:
      tier - the tier value to set.
      Returns:
      the Sku object itself.
    • validate

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