Class SkuLocationInfoItem
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.SkuLocationInfoItem
-
public final class SkuLocationInfoItem extends Object
The locations and zones info for SKU.
-
-
Constructor Summary
Constructors Constructor Description SkuLocationInfoItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
location()
Get the location property: The available location of the SKU.void
validate()
Validates the instance.SkuLocationInfoItem
withLocation(String location)
Set the location property: The available location of the SKU.SkuLocationInfoItem
withZones(List<String> zones)
Set the zones property: The available zone of the SKU.List<String>
zones()
Get the zones property: The available zone of the SKU.
-
-
-
Method Detail
-
location
public String location()
Get the location property: The available location of the SKU.- Returns:
- the location value.
-
withLocation
public SkuLocationInfoItem withLocation(String location)
Set the location property: The available location of the SKU.- Parameters:
location
- the location value to set.- Returns:
- the SkuLocationInfoItem object itself.
-
zones
public List<String> zones()
Get the zones property: The available zone of the SKU.- Returns:
- the zones value.
-
withZones
public SkuLocationInfoItem withZones(List<String> zones)
Set the zones property: The available zone of the SKU.- Parameters:
zones
- the zones value to set.- Returns:
- the SkuLocationInfoItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-