Class ResourceSkuLocationInfo
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.ResourceSkuLocationInfo
-
public final class ResourceSkuLocationInfo extends Object
Resource SKU location information.
-
-
Constructor Summary
Constructors Constructor Description ResourceSkuLocationInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
location()
Get the location property: Location where this SKU is available.void
validate()
Validates the instance.ResourceSkuLocationInfo
withLocation(String location)
Set the location property: Location where this SKU is available.ResourceSkuLocationInfo
withZones(List<String> zones)
Set the zones property: Zones if any.List<String>
zones()
Get the zones property: Zones if any.
-
-
-
Method Detail
-
location
public String location()
Get the location property: Location where this SKU is available.- Returns:
- the location value.
-
withLocation
public ResourceSkuLocationInfo withLocation(String location)
Set the location property: Location where this SKU is available.- Parameters:
location
- the location value to set.- Returns:
- the ResourceSkuLocationInfo object itself.
-
withZones
public ResourceSkuLocationInfo withZones(List<String> zones)
Set the zones property: Zones if any.- Parameters:
zones
- the zones value to set.- Returns:
- the ResourceSkuLocationInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-