@Generated(value="software.amazon.awssdk:codegen") public class AvailabilityZone extends Object implements ToCopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
Describes an Availability Zone.
Modifier and Type | Class and Description |
---|---|
static interface |
AvailabilityZone.Builder |
Modifier and Type | Method and Description |
---|---|
static AvailabilityZone.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<AvailabilityZoneMessage> |
messages()
Any messages about the Availability Zone.
|
String |
regionName()
The name of the region.
|
static Class<? extends AvailabilityZone.Builder> |
serializableBuilderClass() |
AvailabilityZoneState |
state()
The state of the Availability Zone.
|
String |
stateString()
The state of the Availability Zone.
|
AvailabilityZone.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
zoneName()
The name of the Availability Zone.
|
copy
public AvailabilityZoneState state()
The state of the Availability Zone.
If the service returns an enum value that is not available in the current SDK version, state
will return
AvailabilityZoneState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
AvailabilityZoneState
public String stateString()
The state of the Availability Zone.
If the service returns an enum value that is not available in the current SDK version, state
will return
AvailabilityZoneState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateString()
.
AvailabilityZoneState
public List<AvailabilityZoneMessage> messages()
Any messages about the Availability Zone.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String regionName()
The name of the region.
public String zoneName()
The name of the Availability Zone.
public AvailabilityZone.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
public static AvailabilityZone.Builder builder()
public static Class<? extends AvailabilityZone.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.