Class GlobalReplicationGroupMember
- java.lang.Object
-
- software.amazon.awssdk.services.elasticache.model.GlobalReplicationGroupMember
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<GlobalReplicationGroupMember.Builder,GlobalReplicationGroupMember>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GlobalReplicationGroupMember.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
replicationGroupId
public final String replicationGroupId()
The replication group id of the Global datastore member.
- Returns:
- The replication group id of the Global datastore member.
-
replicationGroupRegion
public final String replicationGroupRegion()
The Amazon region of the Global datastore member.
- Returns:
- The Amazon region of the Global datastore member.
-
role
public final String role()
Indicates the role of the replication group, primary or secondary.
- Returns:
- Indicates the role of the replication group, primary or secondary.
-
automaticFailover
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 returnAutomaticFailoverStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautomaticFailoverAsString()
.- Returns:
- Indicates whether automatic failover is enabled for the replication group.
- See Also:
AutomaticFailoverStatus
-
automaticFailoverAsString
public 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 returnAutomaticFailoverStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromautomaticFailoverAsString()
.- Returns:
- Indicates whether automatic failover is enabled for the replication group.
- See Also:
AutomaticFailoverStatus
-
status
public final String status()
The status of the membership of the replication group.
- Returns:
- The status of the membership of the replication group.
-
toBuilder
public GlobalReplicationGroupMember.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<GlobalReplicationGroupMember.Builder,GlobalReplicationGroupMember>
-
builder
public static GlobalReplicationGroupMember.Builder builder()
-
serializableBuilderClass
public static Class<? extends GlobalReplicationGroupMember.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-