@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalReplicationGroupInfo extends Object implements Serializable, Cloneable
The name of the Global Datastore and role of this replication group in the Global Datastore.
Constructor and Description |
---|
GlobalReplicationGroupInfo() |
Modifier and Type | Method and Description |
---|---|
GlobalReplicationGroupInfo |
clone() |
boolean |
equals(Object obj) |
String |
getGlobalReplicationGroupId()
The name of the Global Datastore
|
String |
getGlobalReplicationGroupMemberRole()
The role of the replication group in a Global Datastore.
|
int |
hashCode() |
void |
setGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
|
void |
setGlobalReplicationGroupMemberRole(String globalReplicationGroupMemberRole)
The role of the replication group in a Global Datastore.
|
String |
toString()
Returns a string representation of this object.
|
GlobalReplicationGroupInfo |
withGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
|
GlobalReplicationGroupInfo |
withGlobalReplicationGroupMemberRole(String globalReplicationGroupMemberRole)
The role of the replication group in a Global Datastore.
|
public void setGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
globalReplicationGroupId
- The name of the Global Datastorepublic String getGlobalReplicationGroupId()
The name of the Global Datastore
public GlobalReplicationGroupInfo withGlobalReplicationGroupId(String globalReplicationGroupId)
The name of the Global Datastore
globalReplicationGroupId
- The name of the Global Datastorepublic void setGlobalReplicationGroupMemberRole(String globalReplicationGroupMemberRole)
The role of the replication group in a Global Datastore. Can be primary or secondary.
globalReplicationGroupMemberRole
- The role of the replication group in a Global Datastore. Can be primary or secondary.public String getGlobalReplicationGroupMemberRole()
The role of the replication group in a Global Datastore. Can be primary or secondary.
public GlobalReplicationGroupInfo withGlobalReplicationGroupMemberRole(String globalReplicationGroupMemberRole)
The role of the replication group in a Global Datastore. Can be primary or secondary.
globalReplicationGroupMemberRole
- The role of the replication group in a Global Datastore. Can be primary or secondary.public String toString()
toString
in class Object
Object.toString()
public GlobalReplicationGroupInfo clone()