Class AvailableServiceSkuSku

java.lang.Object
com.azure.resourcemanager.datamigration.models.AvailableServiceSkuSku

public final class AvailableServiceSkuSku extends Object
SKU name, tier, etc.
  • Constructor Details

    • AvailableServiceSkuSku

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

    • name

      public String name()
      Get the name property: The name of the SKU.
      Returns:
      the name value.
    • withName

      public AvailableServiceSkuSku withName(String name)
      Set the name property: The name of the SKU.
      Parameters:
      name - the name value to set.
      Returns:
      the AvailableServiceSkuSku object itself.
    • family

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

      public AvailableServiceSkuSku withFamily(String family)
      Set the family property: SKU family.
      Parameters:
      family - the family value to set.
      Returns:
      the AvailableServiceSkuSku object itself.
    • size

      public String size()
      Get the size property: SKU size.
      Returns:
      the size value.
    • withSize

      public AvailableServiceSkuSku withSize(String size)
      Set the size property: SKU size.
      Parameters:
      size - the size value to set.
      Returns:
      the AvailableServiceSkuSku object itself.
    • tier

      public String tier()
      Get the tier property: The tier of the SKU, such as "Free", "Basic", "Standard", or "Premium".
      Returns:
      the tier value.
    • withTier

      public AvailableServiceSkuSku withTier(String tier)
      Set the tier property: The tier of the SKU, such as "Free", "Basic", "Standard", or "Premium".
      Parameters:
      tier - the tier value to set.
      Returns:
      the AvailableServiceSkuSku object itself.
    • validate

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