Class SkuDefinitionInner

java.lang.Object
com.azure.resourcemanager.workloads.fluent.models.SkuDefinitionInner

public final class SkuDefinitionInner extends Object
The SKU definition.
  • Constructor Details

    • SkuDefinitionInner

      public SkuDefinitionInner()
  • Method Details

    • name

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

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

      public String resourceType()
      Get the resourceType property: Resource type the SKU applicable for.
      Returns:
      the resourceType value.
    • withResourceType

      public SkuDefinitionInner withResourceType(String resourceType)
      Set the resourceType property: Resource type the SKU applicable for.
      Parameters:
      resourceType - the resourceType value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • tier

      public String tier()
      Get the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
      Returns:
      the tier value.
    • withTier

      public SkuDefinitionInner withTier(String tier)
      Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
      Parameters:
      tier - the tier value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • size

      public String size()
      Get the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
      Returns:
      the size value.
    • withSize

      public SkuDefinitionInner withSize(String size)
      Set the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
      Parameters:
      size - the size value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • family

      public String family()
      Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.
      Returns:
      the family value.
    • withFamily

      public SkuDefinitionInner withFamily(String family)
      Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.
      Parameters:
      family - the family value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • kind

      public String kind()
      Get the kind property: If the service has different kinds of hardware, for the same SKU, then that can be captured here.
      Returns:
      the kind value.
    • withKind

      public SkuDefinitionInner withKind(String kind)
      Set the kind property: If the service has different kinds of hardware, for the same SKU, then that can be captured here.
      Parameters:
      kind - the kind value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • locations

      public List<String> locations()
      Get the locations property: List of locations where this SKU is available.
      Returns:
      the locations value.
    • withLocations

      public SkuDefinitionInner withLocations(List<String> locations)
      Set the locations property: List of locations where this SKU is available.
      Parameters:
      locations - the locations value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • locationInfo

      public List<SkuLocationAndZones> locationInfo()
      Get the locationInfo property: List of locations where this SKU is available.
      Returns:
      the locationInfo value.
    • withLocationInfo

      public SkuDefinitionInner withLocationInfo(List<SkuLocationAndZones> locationInfo)
      Set the locationInfo property: List of locations where this SKU is available.
      Parameters:
      locationInfo - the locationInfo value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • capacity

      public Object capacity()
      Get the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
      Returns:
      the capacity value.
    • withCapacity

      public SkuDefinitionInner withCapacity(Object capacity)
      Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
      Parameters:
      capacity - the capacity value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • costs

      public List<SkuCost> costs()
      Get the costs property: The SKU costs.
      Returns:
      the costs value.
    • withCosts

      public SkuDefinitionInner withCosts(List<SkuCost> costs)
      Set the costs property: The SKU costs.
      Parameters:
      costs - the costs value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • capabilities

      public List<SkuCapability> capabilities()
      Get the capabilities property: The SKU capabilities.
      Returns:
      the capabilities value.
    • withCapabilities

      public SkuDefinitionInner withCapabilities(List<SkuCapability> capabilities)
      Set the capabilities property: The SKU capabilities.
      Parameters:
      capabilities - the capabilities value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • restrictions

      public List<SkuRestriction> restrictions()
      Get the restrictions property: The SKU restrictions.
      Returns:
      the restrictions value.
    • withRestrictions

      public SkuDefinitionInner withRestrictions(List<SkuRestriction> restrictions)
      Set the restrictions property: The SKU restrictions.
      Parameters:
      restrictions - the restrictions value to set.
      Returns:
      the SkuDefinitionInner object itself.
    • validate

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