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

public final class Sku extends Object
The Sku.
  • 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.
    • displayName

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

      public Sku withDisplayName(String displayName)
      Set the displayName property: The display name of the sku.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the Sku object itself.
    • family

      public String family()
      Get the family property: The sku family.
      Returns:
      the family value.
    • withFamily

      public Sku withFamily(String family)
      Set the family property: The sku family.
      Parameters:
      family - the family value to set.
      Returns:
      the Sku object itself.
    • validate

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