@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable
Describes an Availability Zone.
Constructor and Description |
---|
AvailabilityZone() |
Modifier and Type | Method and Description |
---|---|
AvailabilityZone |
clone() |
boolean |
equals(Object obj) |
List<AvailabilityZoneMessage> |
getMessages()
Any messages about the Availability Zone.
|
String |
getRegionName()
The name of the region.
|
String |
getState()
The state of the Availability Zone.
|
String |
getZoneName()
The name of the Availability Zone.
|
int |
hashCode() |
void |
setMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone.
|
void |
setRegionName(String regionName)
The name of the region.
|
void |
setState(AvailabilityZoneState state)
The state of the Availability Zone.
|
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; useful for testing and debugging.
|
AvailabilityZone |
withMessages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone.
|
AvailabilityZone |
withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone.
|
AvailabilityZone |
withRegionName(String regionName)
The name of the region.
|
AvailabilityZone |
withState(AvailabilityZoneState state)
The state of the Availability Zone.
|
AvailabilityZone |
withState(String state)
The state of the Availability Zone.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Availability Zone.
|
public void setState(String state)
The state of the Availability Zone.
state
- The state of the Availability Zone.AvailabilityZoneState
public String getState()
The state of the Availability Zone.
AvailabilityZoneState
public AvailabilityZone withState(String state)
The state of the Availability Zone.
state
- The state of the Availability Zone.AvailabilityZoneState
public void setState(AvailabilityZoneState state)
The state of the Availability Zone.
state
- The state of the Availability Zone.AvailabilityZoneState
public AvailabilityZone withState(AvailabilityZoneState state)
The state of the Availability Zone.
state
- The state of the Availability Zone.AvailabilityZoneState
public List<AvailabilityZoneMessage> getMessages()
Any messages about the Availability Zone.
public void setMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone.
messages
- Any messages about the Availability Zone.public AvailabilityZone withMessages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone.
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
or withMessages(java.util.Collection)
if you want to override
the existing values.
messages
- Any messages about the Availability Zone.public AvailabilityZone withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone.
messages
- Any messages about the Availability Zone.public void setRegionName(String regionName)
The name of the region.
regionName
- The name of the region.public String getRegionName()
The name of the region.
public AvailabilityZone withRegionName(String regionName)
The name of the region.
regionName
- The name of the region.public void setZoneName(String zoneName)
The name of the Availability Zone.
zoneName
- The name of the Availability Zone.public String getZoneName()
The name of the Availability Zone.
public AvailabilityZone withZoneName(String zoneName)
The name of the Availability Zone.
zoneName
- The name of the Availability Zone.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.