|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.AvailabilityZone
public class AvailabilityZone
An EC2 availability zone, separate and fault tolerant from other availability zones.
Constructor Summary | |
---|---|
AvailabilityZone()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<AvailabilityZoneMessage> |
getMessages()
A list of messages about the Availability Zone. |
String |
getRegionName()
Name of the region in which this zone resides. |
String |
getState()
State of the Availability Zone. |
String |
getZoneName()
Name of the Availability Zone. |
int |
hashCode()
|
void |
setMessages(Collection<AvailabilityZoneMessage> messages)
A list of messages about the Availability Zone. |
void |
setRegionName(String regionName)
Name of the region in which this zone resides. |
void |
setState(String state)
State of the Availability Zone. |
void |
setZoneName(String zoneName)
Name of the Availability Zone. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AvailabilityZone |
withMessages(AvailabilityZoneMessage... messages)
A list of messages about the Availability Zone. |
AvailabilityZone |
withMessages(Collection<AvailabilityZoneMessage> messages)
A list of messages about the Availability Zone. |
AvailabilityZone |
withRegionName(String regionName)
Name of the region in which this zone resides. |
AvailabilityZone |
withState(String state)
State of the Availability Zone. |
AvailabilityZone |
withZoneName(String zoneName)
Name of the Availability Zone. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AvailabilityZone()
Method Detail |
---|
public String getZoneName()
public void setZoneName(String zoneName)
zoneName
- Name of the Availability Zone.public AvailabilityZone withZoneName(String zoneName)
Returns a reference to this object so that method calls can be chained together.
zoneName
- Name of the Availability Zone.
public String getState()
public void setState(String state)
state
- State of the Availability Zone.public AvailabilityZone withState(String state)
Returns a reference to this object so that method calls can be chained together.
state
- State of the Availability Zone.
public String getRegionName()
public void setRegionName(String regionName)
regionName
- Name of the region in which this zone resides.public AvailabilityZone withRegionName(String regionName)
Returns a reference to this object so that method calls can be chained together.
regionName
- Name of the region in which this zone resides.
public List<AvailabilityZoneMessage> getMessages()
public void setMessages(Collection<AvailabilityZoneMessage> messages)
messages
- A list of messages about the Availability Zone.public AvailabilityZone withMessages(AvailabilityZoneMessage... messages)
Returns a reference to this object so that method calls can be chained together.
messages
- A list of messages about the Availability Zone.
public AvailabilityZone withMessages(Collection<AvailabilityZoneMessage> messages)
Returns a reference to this object so that method calls can be chained together.
messages
- A list of messages about the Availability Zone.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |