@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable
Describes Availability Zones, Local Zones, and Wavelength Zones.
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, Local Zone, or Wavelength Zone.
|
String |
getNetworkBorderGroup()
The name of the network border group.
|
String |
getOptInStatus()
For Availability Zones, this parameter always has the value of
opt-in-not-required . |
String |
getParentZoneId()
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API
calls.
|
String |
getParentZoneName()
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API
calls.
|
String |
getRegionName()
The name of the Region.
|
String |
getState()
The state of the Availability Zone, Local Zone, or Wavelength Zone.
|
String |
getZoneId()
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
|
String |
getZoneName()
The name of the Availability Zone, Local Zone, or Wavelength Zone.
|
String |
getZoneType()
The type of 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, Local Zone, or Wavelength Zone.
|
void |
setNetworkBorderGroup(String networkBorderGroup)
The name of the network border group.
|
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 |
setParentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API
calls.
|
void |
setParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API
calls.
|
void |
setRegionName(String regionName)
The name of the Region.
|
void |
setState(AvailabilityZoneState state)
The state of the Availability Zone, Local Zone, or Wavelength Zone.
|
void |
setState(String state)
The state of the Availability Zone, Local Zone, or Wavelength Zone.
|
void |
setZoneId(String zoneId)
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
|
void |
setZoneName(String zoneName)
The name of the Availability Zone, Local Zone, or Wavelength Zone.
|
void |
setZoneType(String zoneType)
The type of 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, Local Zone, or Wavelength Zone.
|
AvailabilityZone |
withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
|
AvailabilityZone |
withNetworkBorderGroup(String networkBorderGroup)
The name of the network border group.
|
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 |
withParentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API
calls.
|
AvailabilityZone |
withParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API
calls.
|
AvailabilityZone |
withRegionName(String regionName)
The name of the Region.
|
AvailabilityZone |
withState(AvailabilityZoneState state)
The state of the Availability Zone, Local Zone, or Wavelength Zone.
|
AvailabilityZone |
withState(String state)
The state of the Availability Zone, Local Zone, or Wavelength Zone.
|
AvailabilityZone |
withZoneId(String zoneId)
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Availability Zone, Local Zone, or Wavelength Zone.
|
AvailabilityZone |
withZoneType(String zoneType)
The type of zone.
|
public void setState(String state)
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available
.
state
- The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
available
.AvailabilityZoneState
public String getState()
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available
.
available
.AvailabilityZoneState
public AvailabilityZone withState(String state)
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available
.
state
- The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
available
.AvailabilityZoneState
public void setState(AvailabilityZoneState state)
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available
.
state
- The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
available
.AvailabilityZoneState
public AvailabilityZone withState(AvailabilityZoneState state)
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always available
.
state
- The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
available
.AvailabilityZoneState
public void setOptInStatus(String optInStatus)
For Availability Zones, this parameter always has the value of opt-in-not-required
.
For Local Zones and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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 and Wavelength 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, Local Zone, or Wavelength Zone.
public void setMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
messages
- Any messages about the Availability Zone, Local Zone, or Wavelength Zone.public AvailabilityZone withMessages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone, Local Zone, or Wavelength 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, Local Zone, or Wavelength Zone.public AvailabilityZone withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
messages
- Any messages about the Availability Zone, Local Zone, or Wavelength 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, Local Zone, or Wavelength Zone.
zoneName
- The name of the Availability Zone, Local Zone, or Wavelength Zone.public String getZoneName()
The name of the Availability Zone, Local Zone, or Wavelength Zone.
public AvailabilityZone withZoneName(String zoneName)
The name of the Availability Zone, Local Zone, or Wavelength Zone.
zoneName
- The name of the Availability Zone, Local Zone, or Wavelength Zone.public void setZoneId(String zoneId)
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
zoneId
- The ID of the Availability Zone, Local Zone, or Wavelength Zone.public String getZoneId()
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
public AvailabilityZone withZoneId(String zoneId)
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
zoneId
- The ID of the Availability Zone, Local Zone, or Wavelength 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
.
For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-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
.
For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-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 Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-1
.
For Local Zones, the name of the associated group, for example us-west-2-lax-1
.
For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-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
.
For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-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
.
For Wavelength Zones, the name of the associated group, for example us-east-1-wl1-bos-wlz-1
.
public void setNetworkBorderGroup(String networkBorderGroup)
The name of the network border group.
networkBorderGroup
- The name of the network border group.public String getNetworkBorderGroup()
The name of the network border group.
public AvailabilityZone withNetworkBorderGroup(String networkBorderGroup)
The name of the network border group.
networkBorderGroup
- The name of the network border group.public void setZoneType(String zoneType)
The type of zone. The valid values are availability-zone
, local-zone
, and
wavelength-zone
.
zoneType
- The type of zone. The valid values are availability-zone
, local-zone
, and
wavelength-zone
.public String getZoneType()
The type of zone. The valid values are availability-zone
, local-zone
, and
wavelength-zone
.
availability-zone
, local-zone
, and
wavelength-zone
.public AvailabilityZone withZoneType(String zoneType)
The type of zone. The valid values are availability-zone
, local-zone
, and
wavelength-zone
.
zoneType
- The type of zone. The valid values are availability-zone
, local-zone
, and
wavelength-zone
.public void setParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
parentZoneName
- The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such
as API calls.public String getParentZoneName()
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
public AvailabilityZone withParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
parentZoneName
- The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such
as API calls.public void setParentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
parentZoneId
- The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such
as API calls.public String getParentZoneId()
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
public AvailabilityZone withParentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
parentZoneId
- The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such
as API calls.public String toString()
toString
in class Object
Object.toString()
public AvailabilityZone clone()