Partager via


AvailabilityZoneId Class

public class AvailabilityZoneId
extends ExpandableStringEnum<AvailabilityZoneId>

Availability zone identifiers.

Field Summary

Modifier and Type Field and Description
static final AvailabilityZoneId ZONE_1

Static value 1 for AvailabilityZoneId.

static final AvailabilityZoneId ZONE_2

Static value 2 for AvailabilityZoneId.

static final AvailabilityZoneId ZONE_3

Static value 3 for AvailabilityZoneId.

Constructor Summary

Constructor Description
AvailabilityZoneId()

Method Summary

Modifier and Type Method and Description
static AvailabilityZoneId fromString(String id)

Finds or creates an availability zone identifier based on the specified identifier in string format.

static Collection<AvailabilityZoneId> values()

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ZONE_1

public static final AvailabilityZoneId ZONE_1

Static value 1 for AvailabilityZoneId.

ZONE_2

public static final AvailabilityZoneId ZONE_2

Static value 2 for AvailabilityZoneId.

ZONE_3

public static final AvailabilityZoneId ZONE_3

Static value 3 for AvailabilityZoneId.

Constructor Details

AvailabilityZoneId

public AvailabilityZoneId()

Method Details

fromString

public static AvailabilityZoneId fromString(String id)

Finds or creates an availability zone identifier based on the specified identifier in string format.

Parameters:

id - the zone identifier in string format

Returns:

an instance of AvailabilityZone

values

public static Collection values()

Returns:

known availability zone identifiers

Applies to