Class AvailabilityZone
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an Availability Zone.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Any messages about the Availability Zone.The name of the region.getState()
The state of the Availability Zone.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
The state of the Availability Zone.void
setZoneName
(String zoneName) The name of the Availability Zone.toString()
Returns a string representation of this object; useful for testing and debugging.withMessages
(AvailabilityZoneMessage... messages) Any messages about the Availability Zone.withMessages
(Collection<AvailabilityZoneMessage> messages) Any messages about the Availability Zone.withRegionName
(String regionName) The name of the region.withState
(AvailabilityZoneState state) The state of the Availability Zone.The state of the Availability Zone.withZoneName
(String zoneName) The name of the Availability Zone.
-
Constructor Details
-
AvailabilityZone
public AvailabilityZone()
-
-
Method Details
-
setZoneName
The name of the Availability Zone.
- Parameters:
zoneName
- The name of the Availability Zone.
-
getZoneName
The name of the Availability Zone.
- Returns:
- The name of the Availability Zone.
-
withZoneName
The name of the Availability Zone.
- Parameters:
zoneName
- The name of the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The state of the Availability Zone.
- Parameters:
state
- The state of the Availability Zone.- See Also:
-
getState
The state of the Availability Zone.
- Returns:
- The state of the Availability Zone.
- See Also:
-
withState
The state of the Availability Zone.
- Parameters:
state
- The state of the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setState
The state of the Availability Zone.
- Parameters:
state
- The state of the Availability Zone.- See Also:
-
withState
The state of the Availability Zone.
- Parameters:
state
- The state of the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setRegionName
The name of the region.
- Parameters:
regionName
- The name of the region.
-
getRegionName
The name of the region.
- Returns:
- The name of the region.
-
withRegionName
The name of the region.
- Parameters:
regionName
- The name of the region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getMessages
Any messages about the Availability Zone.
- Returns:
- Any messages about the Availability Zone.
-
setMessages
Any messages about the Availability Zone.
- Parameters:
messages
- Any messages about the Availability Zone.
-
withMessages
Any messages about the Availability Zone.
NOTE: This method appends the values to the existing list (if any). Use
setMessages(java.util.Collection)
orwithMessages(java.util.Collection)
if you want to override the existing values.- Parameters:
messages
- Any messages about the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMessages
Any messages about the Availability Zone.
- Parameters:
messages
- Any messages about the Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-