@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GlobalClusterMember extends Object implements Serializable, Cloneable
A data structure with information about any primary and secondary clusters associated with a global cluster (Aurora global database).
| Constructor and Description |
|---|
GlobalClusterMember() |
| Modifier and Type | Method and Description |
|---|---|
GlobalClusterMember |
clone() |
boolean |
equals(Object obj) |
String |
getDBClusterArn()
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
|
String |
getGlobalWriteForwardingStatus()
The status of write forwarding for a secondary cluster in the global cluster.
|
Boolean |
getIsWriter()
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the
global cluster with which it is associated.
|
List<String> |
getReaders()
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
|
String |
getSynchronizationStatus()
The status of synchronization of each Aurora DB cluster in the global cluster.
|
int |
hashCode() |
Boolean |
isWriter()
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the
global cluster with which it is associated.
|
void |
setDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
|
void |
setGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
The status of write forwarding for a secondary cluster in the global cluster.
|
void |
setIsWriter(Boolean isWriter)
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the
global cluster with which it is associated.
|
void |
setReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
|
void |
setSynchronizationStatus(String synchronizationStatus)
The status of synchronization of each Aurora DB cluster in the global cluster.
|
String |
toString()
Returns a string representation of this object.
|
GlobalClusterMember |
withDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
|
GlobalClusterMember |
withGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
The status of write forwarding for a secondary cluster in the global cluster.
|
GlobalClusterMember |
withGlobalWriteForwardingStatus(WriteForwardingStatus globalWriteForwardingStatus)
The status of write forwarding for a secondary cluster in the global cluster.
|
GlobalClusterMember |
withIsWriter(Boolean isWriter)
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the
global cluster with which it is associated.
|
GlobalClusterMember |
withReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
|
GlobalClusterMember |
withReaders(String... readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
|
GlobalClusterMember |
withSynchronizationStatus(GlobalClusterMemberSynchronizationStatus synchronizationStatus)
The status of synchronization of each Aurora DB cluster in the global cluster.
|
GlobalClusterMember |
withSynchronizationStatus(String synchronizationStatus)
The status of synchronization of each Aurora DB cluster in the global cluster.
|
public void setDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
dBClusterArn - The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.public String getDBClusterArn()
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
public GlobalClusterMember withDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
dBClusterArn - The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.public List<String> getReaders()
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
public void setReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
readers - The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.public GlobalClusterMember withReaders(String... readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
NOTE: This method appends the values to the existing list (if any). Use
setReaders(java.util.Collection) or withReaders(java.util.Collection) if you want to override
the existing values.
readers - The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.public GlobalClusterMember withReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
readers - The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.public void setIsWriter(Boolean isWriter)
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated.
isWriter - Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for
the global cluster with which it is associated.public Boolean getIsWriter()
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated.
public GlobalClusterMember withIsWriter(Boolean isWriter)
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated.
isWriter - Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for
the global cluster with which it is associated.public Boolean isWriter()
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated.
public void setGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
The status of write forwarding for a secondary cluster in the global cluster.
globalWriteForwardingStatus - The status of write forwarding for a secondary cluster in the global cluster.WriteForwardingStatuspublic String getGlobalWriteForwardingStatus()
The status of write forwarding for a secondary cluster in the global cluster.
WriteForwardingStatuspublic GlobalClusterMember withGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
The status of write forwarding for a secondary cluster in the global cluster.
globalWriteForwardingStatus - The status of write forwarding for a secondary cluster in the global cluster.WriteForwardingStatuspublic GlobalClusterMember withGlobalWriteForwardingStatus(WriteForwardingStatus globalWriteForwardingStatus)
The status of write forwarding for a secondary cluster in the global cluster.
globalWriteForwardingStatus - The status of write forwarding for a secondary cluster in the global cluster.WriteForwardingStatuspublic void setSynchronizationStatus(String synchronizationStatus)
The status of synchronization of each Aurora DB cluster in the global cluster.
synchronizationStatus - The status of synchronization of each Aurora DB cluster in the global cluster.GlobalClusterMemberSynchronizationStatuspublic String getSynchronizationStatus()
The status of synchronization of each Aurora DB cluster in the global cluster.
GlobalClusterMemberSynchronizationStatuspublic GlobalClusterMember withSynchronizationStatus(String synchronizationStatus)
The status of synchronization of each Aurora DB cluster in the global cluster.
synchronizationStatus - The status of synchronization of each Aurora DB cluster in the global cluster.GlobalClusterMemberSynchronizationStatuspublic GlobalClusterMember withSynchronizationStatus(GlobalClusterMemberSynchronizationStatus synchronizationStatus)
The status of synchronization of each Aurora DB cluster in the global cluster.
synchronizationStatus - The status of synchronization of each Aurora DB cluster in the global cluster.GlobalClusterMemberSynchronizationStatuspublic String toString()
toString in class ObjectObject.toString()public GlobalClusterMember clone()