Class ResourceSkuLocationInfo
- java.lang.Object
-
- com.azure.resourcemanager.appplatform.models.ResourceSkuLocationInfo
-
public final class ResourceSkuLocationInfo extends Object
Locations and availability zones where the SKU is available.
-
-
Constructor Summary
Constructors Constructor Description ResourceSkuLocationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location property: Gets location of the SKU.voidvalidate()Validates the instance.ResourceSkuLocationInfowithLocation(String location)Set the location property: Gets location of the SKU.ResourceSkuLocationInfowithZoneDetails(List<ResourceSkuZoneDetails> zoneDetails)Set the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.ResourceSkuLocationInfowithZones(List<String> zones)Set the zones property: Gets list of availability zones where the SKU is supported.List<ResourceSkuZoneDetails>zoneDetails()Get the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.List<String>zones()Get the zones property: Gets list of availability zones where the SKU is supported.
-
-
-
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.
-
-