Class SkuLocationAndZones
java.lang.Object
com.azure.resourcemanager.workloads.models.SkuLocationAndZones
The SKU location and zone.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the extendedLocations property: The extended locations of SKU.location()
Get the location property: The location of the SKU.type()
Get the type property: Type of the extended location.void
validate()
Validates the instance.withExtendedLocations
(List<String> extendedLocations) Set the extendedLocations property: The extended locations of SKU.withLocation
(String location) Set the location property: The location of the SKU.withType
(LocationType type) Set the type property: Type of the extended location.withZoneDetails
(List<SkuZoneDetail> zoneDetails) Set the zoneDetails property: The availability zone details of the SKU location.Set the zones property: The availability zones of SKU location.Get the zoneDetails property: The availability zone details of the SKU location.zones()
Get the zones property: The availability zones of SKU location.
-
Constructor Details
-
SkuLocationAndZones
public SkuLocationAndZones()
-
-
Method Details
-
location
Get the location property: The location of the SKU.- Returns:
- the location value.
-
withLocation
Set the location property: The location of the SKU.- Parameters:
location
- the location value to set.- Returns:
- the SkuLocationAndZones object itself.
-
zones
Get the zones property: The availability zones of SKU location.- Returns:
- the zones value.
-
withZones
Set the zones property: The availability zones of SKU location.- Parameters:
zones
- the zones value to set.- Returns:
- the SkuLocationAndZones object itself.
-
zoneDetails
Get the zoneDetails property: The availability zone details of the SKU location.- Returns:
- the zoneDetails value.
-
withZoneDetails
Set the zoneDetails property: The availability zone details of the SKU location.- Parameters:
zoneDetails
- the zoneDetails value to set.- Returns:
- the SkuLocationAndZones object itself.
-
extendedLocations
Get the extendedLocations property: The extended locations of SKU.- Returns:
- the extendedLocations value.
-
withExtendedLocations
Set the extendedLocations property: The extended locations of SKU.- Parameters:
extendedLocations
- the extendedLocations value to set.- Returns:
- the SkuLocationAndZones object itself.
-
type
Get the type property: Type of the extended location.- Returns:
- the type value.
-
withType
Set the type property: Type of the extended location.- Parameters:
type
- the type value to set.- Returns:
- the SkuLocationAndZones object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-