Class GlobalCsmSkuDescription


  • public final class GlobalCsmSkuDescription
    extends Object
    A Global SKU Description.
    • Constructor Detail

      • GlobalCsmSkuDescription

        public GlobalCsmSkuDescription()
    • Method Detail

      • name

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

        public GlobalCsmSkuDescription withName​(String name)
        Set the name property: Name of the resource SKU.
        Parameters:
        name - the name value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • tier

        public String tier()
        Get the tier property: Service Tier of the resource SKU.
        Returns:
        the tier value.
      • withTier

        public GlobalCsmSkuDescription withTier​(String tier)
        Set the tier property: Service Tier of the resource SKU.
        Parameters:
        tier - the tier value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • size

        public String size()
        Get the size property: Size specifier of the resource SKU.
        Returns:
        the size value.
      • withSize

        public GlobalCsmSkuDescription withSize​(String size)
        Set the size property: Size specifier of the resource SKU.
        Parameters:
        size - the size value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • family

        public String family()
        Get the family property: Family code of the resource SKU.
        Returns:
        the family value.
      • withFamily

        public GlobalCsmSkuDescription withFamily​(String family)
        Set the family property: Family code of the resource SKU.
        Parameters:
        family - the family value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • capacity

        public SkuCapacity capacity()
        Get the capacity property: Min, max, and default scale values of the SKU.
        Returns:
        the capacity value.
      • withCapacity

        public GlobalCsmSkuDescription withCapacity​(SkuCapacity capacity)
        Set the capacity property: Min, max, and default scale values of the SKU.
        Parameters:
        capacity - the capacity value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • locations

        public List<String> locations()
        Get the locations property: Locations of the SKU.
        Returns:
        the locations value.
      • withLocations

        public GlobalCsmSkuDescription withLocations​(List<String> locations)
        Set the locations property: Locations of the SKU.
        Parameters:
        locations - the locations value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • capabilities

        public List<CapabilityInner> capabilities()
        Get the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.
        Returns:
        the capabilities value.
      • withCapabilities

        public GlobalCsmSkuDescription withCapabilities​(List<CapabilityInner> capabilities)
        Set the capabilities property: Capabilities of the SKU, e.g., is traffic manager enabled?.
        Parameters:
        capabilities - the capabilities value to set.
        Returns:
        the GlobalCsmSkuDescription object itself.
      • validate

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