Class ResourceSku


  • public final class ResourceSku
    extends Object
    The billing information of the resource.
    • Constructor Detail

      • ResourceSku

        public ResourceSku()
    • Method Detail

      • name

        public String name()
        Get the name property: The name of the SKU. Required.

        Allowed values: Standard_S1, Free_F1.

        Returns:
        the name value.
      • withName

        public ResourceSku withName​(String name)
        Set the name property: The name of the SKU. Required.

        Allowed values: Standard_S1, Free_F1.

        Parameters:
        name - the name value to set.
        Returns:
        the ResourceSku object itself.
      • tier

        public SignalRSkuTier tier()
        Get the tier property: Optional tier of this particular SKU. 'Standard' or 'Free'.

        `Basic` is deprecated, use `Standard` instead.

        Returns:
        the tier value.
      • withTier

        public ResourceSku withTier​(SignalRSkuTier tier)
        Set the tier property: Optional tier of this particular SKU. 'Standard' or 'Free'.

        `Basic` is deprecated, use `Standard` instead.

        Parameters:
        tier - the tier value to set.
        Returns:
        the ResourceSku object itself.
      • size

        public String size()
        Get the size property: Not used. Retained for future use.
        Returns:
        the size value.
      • family

        public String family()
        Get the family property: Not used. Retained for future use.
        Returns:
        the family value.
      • capacity

        public Integer capacity()
        Get the capacity property: Optional, integer. The unit count of the resource. 1 by default.

        If present, following values are allowed: Free: 1 Standard: 1,2,5,10,20,50,100.

        Returns:
        the capacity value.
      • withCapacity

        public ResourceSku withCapacity​(Integer capacity)
        Set the capacity property: Optional, integer. The unit count of the resource. 1 by default.

        If present, following values are allowed: Free: 1 Standard: 1,2,5,10,20,50,100.

        Parameters:
        capacity - the capacity value to set.
        Returns:
        the ResourceSku object itself.
      • validate

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