@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalReplicationGroupMember extends Object implements Serializable, Cloneable
A member of a Global datastore. It contains the Replication Group Id, the Amazon region and the role of the replication group.
Constructor and Description |
---|
GlobalReplicationGroupMember() |
Modifier and Type | Method and Description |
---|---|
GlobalReplicationGroupMember |
clone() |
boolean |
equals(Object obj) |
String |
getAutomaticFailover()
Indicates whether automatic failover is enabled for the replication group.
|
String |
getReplicationGroupId()
The replication group id of the Global datastore member.
|
String |
getReplicationGroupRegion()
The Amazon region of the Global datastore member.
|
String |
getRole()
Indicates the role of the replication group, primary or secondary.
|
String |
getStatus()
The status of the membership of the replication group.
|
int |
hashCode() |
void |
setAutomaticFailover(String automaticFailover)
Indicates whether automatic failover is enabled for the replication group.
|
void |
setReplicationGroupId(String replicationGroupId)
The replication group id of the Global datastore member.
|
void |
setReplicationGroupRegion(String replicationGroupRegion)
The Amazon region of the Global datastore member.
|
void |
setRole(String role)
Indicates the role of the replication group, primary or secondary.
|
void |
setStatus(String status)
The status of the membership of the replication group.
|
String |
toString()
Returns a string representation of this object.
|
GlobalReplicationGroupMember |
withAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates whether automatic failover is enabled for the replication group.
|
GlobalReplicationGroupMember |
withAutomaticFailover(String automaticFailover)
Indicates whether automatic failover is enabled for the replication group.
|
GlobalReplicationGroupMember |
withReplicationGroupId(String replicationGroupId)
The replication group id of the Global datastore member.
|
GlobalReplicationGroupMember |
withReplicationGroupRegion(String replicationGroupRegion)
The Amazon region of the Global datastore member.
|
GlobalReplicationGroupMember |
withRole(String role)
Indicates the role of the replication group, primary or secondary.
|
GlobalReplicationGroupMember |
withStatus(String status)
The status of the membership of the replication group.
|
public void setReplicationGroupId(String replicationGroupId)
The replication group id of the Global datastore member.
replicationGroupId
- The replication group id of the Global datastore member.public String getReplicationGroupId()
The replication group id of the Global datastore member.
public GlobalReplicationGroupMember withReplicationGroupId(String replicationGroupId)
The replication group id of the Global datastore member.
replicationGroupId
- The replication group id of the Global datastore member.public void setReplicationGroupRegion(String replicationGroupRegion)
The Amazon region of the Global datastore member.
replicationGroupRegion
- The Amazon region of the Global datastore member.public String getReplicationGroupRegion()
The Amazon region of the Global datastore member.
public GlobalReplicationGroupMember withReplicationGroupRegion(String replicationGroupRegion)
The Amazon region of the Global datastore member.
replicationGroupRegion
- The Amazon region of the Global datastore member.public void setRole(String role)
Indicates the role of the replication group, primary or secondary.
role
- Indicates the role of the replication group, primary or secondary.public String getRole()
Indicates the role of the replication group, primary or secondary.
public GlobalReplicationGroupMember withRole(String role)
Indicates the role of the replication group, primary or secondary.
role
- Indicates the role of the replication group, primary or secondary.public void setAutomaticFailover(String automaticFailover)
Indicates whether automatic failover is enabled for the replication group.
automaticFailover
- Indicates whether automatic failover is enabled for the replication group.AutomaticFailoverStatus
public String getAutomaticFailover()
Indicates whether automatic failover is enabled for the replication group.
AutomaticFailoverStatus
public GlobalReplicationGroupMember withAutomaticFailover(String automaticFailover)
Indicates whether automatic failover is enabled for the replication group.
automaticFailover
- Indicates whether automatic failover is enabled for the replication group.AutomaticFailoverStatus
public GlobalReplicationGroupMember withAutomaticFailover(AutomaticFailoverStatus automaticFailover)
Indicates whether automatic failover is enabled for the replication group.
automaticFailover
- Indicates whether automatic failover is enabled for the replication group.AutomaticFailoverStatus
public void setStatus(String status)
The status of the membership of the replication group.
status
- The status of the membership of the replication group.public String getStatus()
The status of the membership of the replication group.
public GlobalReplicationGroupMember withStatus(String status)
The status of the membership of the replication group.
status
- The status of the membership of the replication group.public String toString()
toString
in class Object
Object.toString()
public GlobalReplicationGroupMember clone()