@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AvailabilityZoneInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about an Availability Zone on a domain.
| Constructor and Description |
|---|
AvailabilityZoneInfo() |
| Modifier and Type | Method and Description |
|---|---|
AvailabilityZoneInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZoneName()
The name of the Availability Zone.
|
String |
getAvailableDataNodeCount()
The number of data nodes active in the Availability Zone.
|
String |
getConfiguredDataNodeCount()
The total number of data nodes configured in the Availability Zone.
|
String |
getTotalShards()
The total number of primary and replica shards in the Availability Zone.
|
String |
getTotalUnAssignedShards()
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability
Zone.
|
String |
getZoneStatus()
The current state of the Availability Zone.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAvailabilityZoneName(String availabilityZoneName)
The name of the Availability Zone.
|
void |
setAvailableDataNodeCount(String availableDataNodeCount)
The number of data nodes active in the Availability Zone.
|
void |
setConfiguredDataNodeCount(String configuredDataNodeCount)
The total number of data nodes configured in the Availability Zone.
|
void |
setTotalShards(String totalShards)
The total number of primary and replica shards in the Availability Zone.
|
void |
setTotalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability
Zone.
|
void |
setZoneStatus(String zoneStatus)
The current state of the Availability Zone.
|
String |
toString()
Returns a string representation of this object.
|
AvailabilityZoneInfo |
withAvailabilityZoneName(String availabilityZoneName)
The name of the Availability Zone.
|
AvailabilityZoneInfo |
withAvailableDataNodeCount(String availableDataNodeCount)
The number of data nodes active in the Availability Zone.
|
AvailabilityZoneInfo |
withConfiguredDataNodeCount(String configuredDataNodeCount)
The total number of data nodes configured in the Availability Zone.
|
AvailabilityZoneInfo |
withTotalShards(String totalShards)
The total number of primary and replica shards in the Availability Zone.
|
AvailabilityZoneInfo |
withTotalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability
Zone.
|
AvailabilityZoneInfo |
withZoneStatus(String zoneStatus)
The current state of the Availability Zone.
|
AvailabilityZoneInfo |
withZoneStatus(ZoneStatus zoneStatus)
The current state of the Availability Zone.
|
public void setAvailabilityZoneName(String availabilityZoneName)
The name of the Availability Zone.
availabilityZoneName - The name of the Availability Zone.public String getAvailabilityZoneName()
The name of the Availability Zone.
public AvailabilityZoneInfo withAvailabilityZoneName(String availabilityZoneName)
The name of the Availability Zone.
availabilityZoneName - The name of the Availability Zone.public void setZoneStatus(String zoneStatus)
The current state of the Availability Zone. Current options are Active and StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
zoneStatus - The current state of the Availability Zone. Current options are Active and
StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
ZoneStatuspublic String getZoneStatus()
The current state of the Availability Zone. Current options are Active and StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
Active and
StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
ZoneStatuspublic AvailabilityZoneInfo withZoneStatus(String zoneStatus)
The current state of the Availability Zone. Current options are Active and StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
zoneStatus - The current state of the Availability Zone. Current options are Active and
StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
ZoneStatuspublic AvailabilityZoneInfo withZoneStatus(ZoneStatus zoneStatus)
The current state of the Availability Zone. Current options are Active and StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
zoneStatus - The current state of the Availability Zone. Current options are Active and
StandBy.
Active - Data nodes in the Availability Zone are in use.
StandBy - Data nodes in the Availability Zone are in a standby state.
NotAvailable - Unable to retrieve information.
ZoneStatuspublic void setConfiguredDataNodeCount(String configuredDataNodeCount)
The total number of data nodes configured in the Availability Zone.
configuredDataNodeCount - The total number of data nodes configured in the Availability Zone.public String getConfiguredDataNodeCount()
The total number of data nodes configured in the Availability Zone.
public AvailabilityZoneInfo withConfiguredDataNodeCount(String configuredDataNodeCount)
The total number of data nodes configured in the Availability Zone.
configuredDataNodeCount - The total number of data nodes configured in the Availability Zone.public void setAvailableDataNodeCount(String availableDataNodeCount)
The number of data nodes active in the Availability Zone.
availableDataNodeCount - The number of data nodes active in the Availability Zone.public String getAvailableDataNodeCount()
The number of data nodes active in the Availability Zone.
public AvailabilityZoneInfo withAvailableDataNodeCount(String availableDataNodeCount)
The number of data nodes active in the Availability Zone.
availableDataNodeCount - The number of data nodes active in the Availability Zone.public void setTotalShards(String totalShards)
The total number of primary and replica shards in the Availability Zone.
totalShards - The total number of primary and replica shards in the Availability Zone.public String getTotalShards()
The total number of primary and replica shards in the Availability Zone.
public AvailabilityZoneInfo withTotalShards(String totalShards)
The total number of primary and replica shards in the Availability Zone.
totalShards - The total number of primary and replica shards in the Availability Zone.public void setTotalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
totalUnAssignedShards - The total number of primary and replica shards that aren't allocated to any of the nodes in the
Availability Zone.public String getTotalUnAssignedShards()
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
public AvailabilityZoneInfo withTotalUnAssignedShards(String totalUnAssignedShards)
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
totalUnAssignedShards - The total number of primary and replica shards that aren't allocated to any of the nodes in the
Availability Zone.public String toString()
toString in class ObjectObject.toString()public AvailabilityZoneInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.