Class Sku


  • public final class Sku
    extends Object
    The Sku description for a namespace.
    • Constructor Detail

      • Sku

        public Sku()
    • Method Detail

      • name

        public SkuName name()
        Get the name property: Name of the notification hub sku.
        Returns:
        the name value.
      • withName

        public Sku withName​(SkuName name)
        Set the name property: Name of the notification hub sku.
        Parameters:
        name - the name value to set.
        Returns:
        the Sku object itself.
      • tier

        public String tier()
        Get the tier property: The tier of particular sku.
        Returns:
        the tier value.
      • withTier

        public Sku withTier​(String tier)
        Set the tier property: The tier of particular sku.
        Parameters:
        tier - the tier value to set.
        Returns:
        the Sku object itself.
      • size

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

        public Sku withSize​(String size)
        Set the size property: The Sku size.
        Parameters:
        size - the size 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.
      • capacity

        public Integer capacity()
        Get the capacity property: The capacity of the resource.
        Returns:
        the capacity value.
      • withCapacity

        public Sku withCapacity​(Integer capacity)
        Set the capacity property: The capacity of the resource.
        Parameters:
        capacity - the capacity value to set.
        Returns:
        the Sku object itself.
      • validate

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