Class SkuSetting


  • public final class SkuSetting
    extends Object
    SkuSetting fulfills the need for stripped down SKU info in ARM contract.
    • Constructor Detail

      • SkuSetting

        public SkuSetting()
    • Method Detail

      • name

        public String name()
        Get the name property: [Required] The name of the SKU. Ex - P3. It is typically a letter+number code.
        Returns:
        the name value.
      • withName

        public SkuSetting withName​(String name)
        Set the name property: [Required] The name of the SKU. Ex - P3. It is typically a letter+number code.
        Parameters:
        name - the name value to set.
        Returns:
        the SkuSetting object itself.
      • tier

        public SkuTier 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 SkuSetting withTier​(SkuTier 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 SkuSetting object itself.
      • validate

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