@Generated(value="software.amazon.awssdk:codegen") public final class AvailabilityZoneInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AvailabilityZoneInfo.Builder,AvailabilityZoneInfo>
Information about an Availability Zone on a domain.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AvailabilityZoneInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZoneName()
The name of the Availability Zone.
|
String |
availableDataNodeCount()
The number of data nodes active in the Availability Zone.
|
static AvailabilityZoneInfo.Builder |
builder() |
String |
configuredDataNodeCount()
The total number of data nodes configured in the Availability Zone.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AvailabilityZoneInfo.Builder> |
serializableBuilderClass() |
AvailabilityZoneInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
totalShards()
The total number of primary and replica shards in the Availability Zone.
|
String |
totalUnAssignedShards()
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability
Zone.
|
ZoneStatus |
zoneStatus()
The current state of the Availability Zone.
|
String |
zoneStatusAsString()
The current state of the Availability Zone.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String availabilityZoneName()
The name of the Availability Zone.
public final 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.
If the service returns an enum value that is not available in the current SDK version, zoneStatus will
return ZoneStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
zoneStatusAsString().
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 final String zoneStatusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, zoneStatus will
return ZoneStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
zoneStatusAsString().
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 final String configuredDataNodeCount()
The total number of data nodes configured in the Availability Zone.
public final String availableDataNodeCount()
The number of data nodes active in the Availability Zone.
public final String totalShards()
The total number of primary and replica shards in the Availability Zone.
public final String totalUnAssignedShards()
The total number of primary and replica shards that aren't allocated to any of the nodes in the Availability Zone.
public AvailabilityZoneInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AvailabilityZoneInfo.Builder,AvailabilityZoneInfo>public static AvailabilityZoneInfo.Builder builder()
public static Class<? extends AvailabilityZoneInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.