|
||||||||||
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
Describes an Availability Zone.
Constructor Summary | |
---|---|
AvailabilityZone()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AvailabilityZone()
Method Detail |
---|
public String getZoneName()
public void setZoneName(String zoneName)
zoneName
- The 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
- The name of the Availability Zone.
public String getState()
Constraints:
Allowed Values: available
AvailabilityZoneState
public void setState(String state)
Constraints:
Allowed Values: available
state
- The state of the Availability Zone.AvailabilityZoneState
public AvailabilityZone withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available
state
- The state of the Availability Zone.
AvailabilityZoneState
public void setState(AvailabilityZoneState state)
Constraints:
Allowed Values: available
state
- The state of the Availability Zone.AvailabilityZoneState
public AvailabilityZone withState(AvailabilityZoneState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: available
state
- The state of the Availability Zone.
AvailabilityZoneState
public String getRegionName()
public void setRegionName(String regionName)
regionName
- The name of the region.public AvailabilityZone withRegionName(String regionName)
Returns a reference to this object so that method calls can be chained together.
regionName
- The name of the region.
public List<AvailabilityZoneMessage> getMessages()
public void setMessages(Collection<AvailabilityZoneMessage> messages)
messages
- Any 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
- Any 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
- Any 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 |