@Generated(value="software.amazon.awssdk:codegen") public final class GlobalReplicationGroupMember extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GlobalReplicationGroupMember.Builder,GlobalReplicationGroupMember>
A member of a Global datastore. It contains the Replication Group Id, the Amazon region and the role of the replication group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GlobalReplicationGroupMember.Builder |
| Modifier and Type | Method and Description |
|---|---|
AutomaticFailoverStatus |
automaticFailover()
Indicates whether automatic failover is enabled for the replication group.
|
String |
automaticFailoverAsString()
Indicates whether automatic failover is enabled for the replication group.
|
static GlobalReplicationGroupMember.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
replicationGroupId()
The replication group id of the Global datastore member.
|
String |
replicationGroupRegion()
The Amazon region of the Global datastore member.
|
String |
role()
Indicates the role of the replication group, primary or secondary.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GlobalReplicationGroupMember.Builder> |
serializableBuilderClass() |
String |
status()
The status of the membership of the replication group.
|
GlobalReplicationGroupMember.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationGroupId()
The replication group id of the Global datastore member.
public final String replicationGroupRegion()
The Amazon region of the Global datastore member.
public final String role()
Indicates the role of the replication group, primary or secondary.
public final AutomaticFailoverStatus automaticFailover()
Indicates whether automatic failover is enabled for the replication group.
If the service returns an enum value that is not available in the current SDK version, automaticFailover
will return AutomaticFailoverStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from automaticFailoverAsString().
AutomaticFailoverStatuspublic final String automaticFailoverAsString()
Indicates whether automatic failover is enabled for the replication group.
If the service returns an enum value that is not available in the current SDK version, automaticFailover
will return AutomaticFailoverStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from automaticFailoverAsString().
AutomaticFailoverStatuspublic final String status()
The status of the membership of the replication group.
public GlobalReplicationGroupMember.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GlobalReplicationGroupMember.Builder,GlobalReplicationGroupMember>public static GlobalReplicationGroupMember.Builder builder()
public static Class<? extends GlobalReplicationGroupMember.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.