@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZone extends Object implements Serializable, Cloneable
Describes a 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 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 |
getParentZoneId()
The ID of the zone that handles some of the Local Zone control plane operations, such as API calls.
|
String |
getParentZoneName()
The name of the zone that handles some of the Local Zone control plane operations, such as API calls.
|
String |
getRegionName()
The name of the Region.
|
String |
getState()
The state of the Zone.
|
String |
getZoneId()
The ID of the Zone.
|
String |
getZoneName()
The name of the 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 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 |
setParentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone control plane operations, such as API calls.
|
void |
setParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local 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 Zone.
|
void |
setState(String state)
The state of the Zone.
|
void |
setZoneId(String zoneId)
The ID of the Zone.
|
void |
setZoneName(String zoneName)
The name of the 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 Zone.
|
AvailabilityZone |
withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the 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 |
withParentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone control plane operations, such as API calls.
|
AvailabilityZone |
withParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local 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 Zone.
|
AvailabilityZone |
withState(String state)
The state of the Zone.
|
AvailabilityZone |
withZoneId(String zoneId)
The ID of the Zone.
|
AvailabilityZone |
withZoneName(String zoneName)
The name of the Zone.
|
AvailabilityZone |
withZoneType(String zoneType)
The type of zone.
|
public void setState(String state)
The state of the Zone.
state - The state of the Zone.AvailabilityZoneStatepublic String getState()
The state of the Zone.
AvailabilityZoneStatepublic AvailabilityZone withState(String state)
The state of the Zone.
state - The state of the Zone.AvailabilityZoneStatepublic void setState(AvailabilityZoneState state)
The state of the Zone.
state - The state of the Zone.AvailabilityZoneStatepublic AvailabilityZone withState(AvailabilityZoneState state)
The state of the Zone.
state - The state of the Zone.AvailabilityZoneStatepublic 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.
AvailabilityZoneOptInStatuspublic 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.
AvailabilityZoneOptInStatuspublic 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.
AvailabilityZoneOptInStatuspublic 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.
AvailabilityZoneOptInStatuspublic 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.
AvailabilityZoneOptInStatuspublic List<AvailabilityZoneMessage> getMessages()
Any messages about the Zone.
public void setMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Zone.
messages - Any messages about the Zone.public AvailabilityZone withMessages(AvailabilityZoneMessage... messages)
Any messages about the 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 Zone.public AvailabilityZone withMessages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Zone.
messages - Any messages about the 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 Zone.
zoneName - The name of the Zone.public String getZoneName()
The name of the Zone.
public AvailabilityZone withZoneName(String zoneName)
The name of the Zone.
zoneName - The name of the Zone.public void setZoneId(String zoneId)
The ID of the Zone.
zoneId - The ID of the Zone.public String getZoneId()
The ID of the Zone.
public AvailabilityZone withZoneId(String zoneId)
The ID of the Zone.
zoneId - The ID of the 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 void setZoneType(String zoneType)
The type of zone. The valid values are availability-zone and local-zone.
zoneType - The type of zone. The valid values are availability-zone and local-zone.public String getZoneType()
The type of zone. The valid values are availability-zone and local-zone.
availability-zone and local-zone.public AvailabilityZone withZoneType(String zoneType)
The type of zone. The valid values are availability-zone and local-zone.
zoneType - The type of zone. The valid values are availability-zone and local-zone.public void setParentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone control plane operations, such as API calls.
parentZoneName - The name of the zone that handles some of the Local Zone control plane operations, such as API calls.public String getParentZoneName()
The name of the zone that handles some of the Local 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 control plane operations, such as API calls.
parentZoneName - The name of the zone that handles some of the Local 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 control plane operations, such as API calls.
parentZoneId - The ID of the zone that handles some of the Local Zone control plane operations, such as API calls.public String getParentZoneId()
The ID of the zone that handles some of the Local 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 control plane operations, such as API calls.
parentZoneId - The ID of the zone that handles some of the Local Zone control plane operations, such as API calls.public String toString()
toString in class ObjectObject.toString()public AvailabilityZone clone()
Copyright © 2020. All rights reserved.