@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable
Describes an Availability Zone or Local Zone.
Constructor and Description |
---|
AvailabilityZone() |
Modifier and Type | Method and Description |
---|---|
AvailabilityZone |
clone() |
boolean |
equals(Object obj) |
String |
getGroupName()
For Availability Zones, this parameter has the same value as the Region name.
|
List<AvailabilityZoneMessage> |
getMessages()
Any messages about the Availability Zone or Local Zone.
|
String |
getNetworkBorderGroup()
The name of the location from which the address is advertised.
|
String |
getOptInStatus()
For Availability Zones, this parameter always has the value of
opt-in-not-required . |
String |
getRegionName()
The name of the Region.
|
String |
getState()
The state of the Availability Zone or Local Zone.
|
String |
getZoneId()
The ID of the Availability Zone or Local Zone.
|
String |
getZoneName()
The name of the Availability Zone or Local Zone.
|
int |
hashCode() |
void |
setGroupName(String groupName)
For Availability Zones, this parameter has the same value as the Region name.
|
void |
setMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone or Local Zone.
|
void |
setNetworkBorderGroup(String networkBorderGroup)
The name of the location from which the address is advertised.
|
void |
setOptInStatus(AvailabilityZoneOptInStatus optInStatus)
For Availability Zones, this parameter always has the value of
opt-in-not-required . |
void |
setOptInStatus(String optInStatus)
For Availability Zones, this parameter always has the value of
opt-in-not-required . |
void |
setRegionName(String regionName)
The name of the Region.
|
void |
setState(AvailabilityZoneState state)
The state of the Availability Zone or Local Zone.
|
void |
setState(String state)
The state of the Availability Zone or Local Zone.
|
void |
setZoneId(String zoneId)
The ID of the Availability Zone or Local Zone.
|
void |
setZoneName(String zoneName)
The name of the Availability Zone or Local Zone.
|
String |
toString()
Returns a string representation of this object.
|
AvailabilityZone |
withGroupName(String groupName)
For Availability Zones, this parameter has the same value as the Region name.
|
AvailabilityZone |
withMessages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone or Local Zone.
|
AvailabilityZone |
withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone or Local Zone.
|
AvailabilityZone |
withNetworkBorderGroup(String networkBorderGroup)
The name of the location from which the address is advertised.
|
AvailabilityZone |
withOptInStatus(AvailabilityZoneOptInStatus optInStatus)
For Availability Zones, this parameter always has the value of
opt-in-not-required . |
AvailabilityZone |
withOptInStatus(String optInStatus)
For Availability Zones, this parameter always has the value of
opt-in-not-required . |
AvailabilityZone |
withRegionName(String regionName)
The name of the Region.
|
AvailabilityZone |
withState(AvailabilityZoneState state)
The state of the Availability Zone or Local Zone.
|
AvailabilityZone |
withState(String state)
The state of the Availability Zone or Local Zone.
|
AvailabilityZone |
withZoneId(String zoneId)
The ID of the Availability Zone or Local Zone.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Availability Zone or Local Zone.
|
public void setState(String state)
The state of the Availability Zone or Local Zone.
state
- The state of the Availability Zone or Local Zone.AvailabilityZoneState
public String getState()
The state of the Availability Zone or Local Zone.
AvailabilityZoneState
public AvailabilityZone withState(String state)
The state of the Availability Zone or Local Zone.
state
- The state of the Availability Zone or Local Zone.AvailabilityZoneState
public void setState(AvailabilityZoneState state)
The state of the Availability Zone or Local Zone.
state
- The state of the Availability Zone or Local Zone.AvailabilityZoneState
public AvailabilityZone withState(AvailabilityZoneState state)
The state of the Availability Zone or Local Zone.
state
- The state of the Availability Zone or Local Zone.AvailabilityZoneState
public void setOptInStatus(String optInStatus)
For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
optInStatus
- For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
AvailabilityZoneOptInStatus
public String getOptInStatus()
For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
AvailabilityZoneOptInStatus
public AvailabilityZone withOptInStatus(String optInStatus)
For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
optInStatus
- For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
AvailabilityZoneOptInStatus
public void setOptInStatus(AvailabilityZoneOptInStatus optInStatus)
For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
optInStatus
- For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
AvailabilityZoneOptInStatus
public AvailabilityZone withOptInStatus(AvailabilityZoneOptInStatus optInStatus)
For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
optInStatus
- For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones, this parameter is the opt in status. The possible values are opted-in
, and
not-opted-in
.
AvailabilityZoneOptInStatus
public List<AvailabilityZoneMessage> getMessages()
Any messages about the Availability Zone or Local Zone.
public void setMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone or Local Zone.
messages
- Any messages about the Availability Zone or Local Zone.public AvailabilityZone withMessages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone or Local 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 or Local Zone.public AvailabilityZone withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone or Local Zone.
messages
- Any messages about the Availability Zone or Local 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 or Local Zone.
zoneName
- The name of the Availability Zone or Local Zone.public String getZoneName()
The name of the Availability Zone or Local Zone.
public AvailabilityZone withZoneName(String zoneName)
The name of the Availability Zone or Local Zone.
zoneName
- The name of the Availability Zone or Local Zone.public void setZoneId(String zoneId)
The ID of the Availability Zone or Local Zone.
zoneId
- The ID of the Availability Zone or Local Zone.public String getZoneId()
The ID of the Availability Zone or Local Zone.
public AvailabilityZone withZoneId(String zoneId)
The ID of the Availability Zone or Local Zone.
zoneId
- The ID of the Availability Zone or Local Zone.public void setGroupName(String groupName)
For Availability Zones, this parameter has the same value as the Region name.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
groupName
- For Availability Zones, this parameter has the same value as the Region name.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
public String getGroupName()
For Availability Zones, this parameter has the same value as the Region name.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
public AvailabilityZone withGroupName(String groupName)
For Availability Zones, this parameter has the same value as the Region name.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
groupName
- For Availability Zones, this parameter has the same value as the Region name.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
public void setNetworkBorderGroup(String networkBorderGroup)
The name of the location from which the address is advertised.
networkBorderGroup
- The name of the location from which the address is advertised.public String getNetworkBorderGroup()
The name of the location from which the address is advertised.
public AvailabilityZone withNetworkBorderGroup(String networkBorderGroup)
The name of the location from which the address is advertised.
networkBorderGroup
- The name of the location from which the address is advertised.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.