@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Availability Zone. This is returned only as part of a GetRegions
request.
Constructor and Description |
---|
AvailabilityZone() |
Modifier and Type | Method and Description |
---|---|
AvailabilityZone |
clone() |
boolean |
equals(Object obj) |
String |
getState()
The state of the Availability Zone.
|
String |
getZoneName()
The name of the Availability Zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setState(String state)
The state of the Availability Zone.
|
void |
setZoneName(String zoneName)
The name of the Availability Zone.
|
String |
toString()
Returns a string representation of this object.
|
AvailabilityZone |
withState(String state)
The state of the Availability Zone.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Availability Zone.
|
public void setZoneName(String zoneName)
The name of the Availability Zone. The format is us-east-2a
(case-sensitive).
zoneName
- The name of the Availability Zone. The format is us-east-2a
(case-sensitive).public String getZoneName()
The name of the Availability Zone. The format is us-east-2a
(case-sensitive).
us-east-2a
(case-sensitive).public AvailabilityZone withZoneName(String zoneName)
The name of the Availability Zone. The format is us-east-2a
(case-sensitive).
zoneName
- The name of the Availability Zone. The format is us-east-2a
(case-sensitive).public void setState(String state)
The state of the Availability Zone.
state
- The state of the Availability Zone.public String getState()
The state of the Availability Zone.
public AvailabilityZone withState(String state)
The state of the Availability Zone.
state
- The state of the Availability Zone.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.