Class ResourceSkuLocationInfo


  • public final class ResourceSkuLocationInfo
    extends Object
    Locations and availability zones where the SKU is available.
    • Constructor Detail

      • ResourceSkuLocationInfo

        public ResourceSkuLocationInfo()
    • Method Detail

      • location

        public String location()
        Get the location property: Gets location of the SKU.
        Returns:
        the location value.
      • withLocation

        public ResourceSkuLocationInfo withLocation​(String location)
        Set the location property: Gets location of the SKU.
        Parameters:
        location - the location value to set.
        Returns:
        the ResourceSkuLocationInfo object itself.
      • zones

        public List<String> zones()
        Get the zones property: Gets list of availability zones where the SKU is supported.
        Returns:
        the zones value.
      • withZones

        public ResourceSkuLocationInfo withZones​(List<String> zones)
        Set the zones property: Gets list of availability zones where the SKU is supported.
        Parameters:
        zones - the zones value to set.
        Returns:
        the ResourceSkuLocationInfo object itself.
      • zoneDetails

        public List<ResourceSkuZoneDetails> zoneDetails()
        Get the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.
        Returns:
        the zoneDetails value.
      • withZoneDetails

        public ResourceSkuLocationInfo withZoneDetails​(List<ResourceSkuZoneDetails> zoneDetails)
        Set the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.
        Parameters:
        zoneDetails - the zoneDetails value to set.
        Returns:
        the ResourceSkuLocationInfo object itself.
      • validate

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