public class AvailabilityZone
extends java.lang.Object
implements java.io.Serializable
An EC2 availability zone, separate and fault tolerant from other availability zones.
| コンストラクタと説明 |
|---|
AvailabilityZone() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<AvailabilityZoneMessage> |
getMessages()
A list of messages about the Availability Zone.
|
java.lang.String |
getRegionName()
Name of the region in which this zone resides.
|
java.lang.String |
getState()
State of the Availability Zone.
|
java.lang.String |
getZoneName()
Name of the Availability Zone.
|
int |
hashCode() |
void |
setMessages(java.util.Collection<AvailabilityZoneMessage> messages)
A list of messages about the Availability Zone.
|
void |
setRegionName(java.lang.String regionName)
Name of the region in which this zone resides.
|
void |
setState(java.lang.String state)
State of the Availability Zone.
|
void |
setZoneName(java.lang.String zoneName)
Name of the Availability Zone.
|
java.lang.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(java.util.Collection<AvailabilityZoneMessage> messages)
A list of messages about the Availability Zone.
|
AvailabilityZone |
withRegionName(java.lang.String regionName)
Name of the region in which this zone resides.
|
AvailabilityZone |
withState(java.lang.String state)
State of the Availability Zone.
|
AvailabilityZone |
withZoneName(java.lang.String zoneName)
Name of the Availability Zone.
|
public java.lang.String getZoneName()
public void setZoneName(java.lang.String zoneName)
zoneName - Name of the Availability Zone.public AvailabilityZone withZoneName(java.lang.String zoneName)
Returns a reference to this object so that method calls can be chained together.
zoneName - Name of the Availability Zone.public java.lang.String getState()
public void setState(java.lang.String state)
state - State of the Availability Zone.public AvailabilityZone withState(java.lang.String state)
Returns a reference to this object so that method calls can be chained together.
state - State of the Availability Zone.public java.lang.String getRegionName()
public void setRegionName(java.lang.String regionName)
regionName - Name of the region in which this zone resides.public AvailabilityZone withRegionName(java.lang.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 java.util.List<AvailabilityZoneMessage> getMessages()
public void setMessages(java.util.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(java.util.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object