다음을 통해 공유


ResourceSkuLocationInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ResourceSkuLocationInfo

Implements

public final class ResourceSkuLocationInfo
implements JsonSerializable<ResourceSkuLocationInfo>

Locations and availability zones where the SKU is available.

Constructor Summary

Constructor Description
ResourceSkuLocationInfo()

Creates an instance of ResourceSkuLocationInfo class.

Method Summary

Modifier and Type Method and Description
static ResourceSkuLocationInfo fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuLocationInfo from the JsonReader.

String location()

Get the location property: Gets location of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ResourceSkuLocationInfo withLocation(String location)

Set the location property: Gets location of the SKU.

ResourceSkuLocationInfo withZoneDetails(List<ResourceSkuZoneDetails> zoneDetails)

Set the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.

ResourceSkuLocationInfo withZones(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.

Methods inherited from java.lang.Object

Constructor Details

ResourceSkuLocationInfo

public ResourceSkuLocationInfo()

Creates an instance of ResourceSkuLocationInfo class.

Method Details

fromJson

public static ResourceSkuLocationInfo fromJson(JsonReader jsonReader)

Reads an instance of ResourceSkuLocationInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ResourceSkuLocationInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ResourceSkuLocationInfo.

location

public String location()

Get the location property: Gets location of the SKU.

Returns:

the location value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withZoneDetails

public ResourceSkuLocationInfo withZoneDetails(List 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.

withZones

public ResourceSkuLocationInfo withZones(List 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 zoneDetails()

Get the zoneDetails property: Gets details of capabilities available to a SKU in specific zones.

Returns:

the zoneDetails value.

zones

public List zones()

Get the zones property: Gets list of availability zones where the SKU is supported.

Returns:

the zones value.

Applies to