@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 an 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 cluster.
|
String |
getGlobalWriteForwardingStatus()
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or
is in the process of enabling it.
|
Boolean |
getIsWriter()
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora
global database with which it is associated.
|
List<String> |
getReaders()
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
|
int |
hashCode() |
Boolean |
isWriter()
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora
global database with which it is associated.
|
void |
setDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora cluster.
|
void |
setGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or
is in the process of enabling it.
|
void |
setIsWriter(Boolean isWriter)
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora
global database with which it is associated.
|
void |
setReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
|
String |
toString()
Returns a string representation of this object.
|
GlobalClusterMember |
withDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora cluster.
|
GlobalClusterMember |
withGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or
is in the process of enabling it.
|
GlobalClusterMember |
withGlobalWriteForwardingStatus(WriteForwardingStatus globalWriteForwardingStatus)
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or
is in the process of enabling it.
|
GlobalClusterMember |
withIsWriter(Boolean isWriter)
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora
global database with which it is associated.
|
GlobalClusterMember |
withReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
|
GlobalClusterMember |
withReaders(String... readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
|
public void setDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora cluster.
dBClusterArn
- The Amazon Resource Name (ARN) for each Aurora cluster.public String getDBClusterArn()
The Amazon Resource Name (ARN) for each Aurora cluster.
public GlobalClusterMember withDBClusterArn(String dBClusterArn)
The Amazon Resource Name (ARN) for each Aurora cluster.
dBClusterArn
- The Amazon Resource Name (ARN) for each Aurora cluster.public List<String> getReaders()
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
public void setReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
readers
- The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global
database.public GlobalClusterMember withReaders(String... readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
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 Aurora global
database.public GlobalClusterMember withReaders(Collection<String> readers)
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
readers
- The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global
database.public void setIsWriter(Boolean isWriter)
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
isWriter
- Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the
Aurora global database with which it is associated.public Boolean getIsWriter()
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
public GlobalClusterMember withIsWriter(Boolean isWriter)
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
isWriter
- Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the
Aurora global database with which it is associated.public Boolean isWriter()
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
public void setGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
globalWriteForwardingStatus
- Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not
enabled, or is in the process of enabling it.WriteForwardingStatus
public String getGlobalWriteForwardingStatus()
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
WriteForwardingStatus
public GlobalClusterMember withGlobalWriteForwardingStatus(String globalWriteForwardingStatus)
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
globalWriteForwardingStatus
- Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not
enabled, or is in the process of enabling it.WriteForwardingStatus
public GlobalClusterMember withGlobalWriteForwardingStatus(WriteForwardingStatus globalWriteForwardingStatus)
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
globalWriteForwardingStatus
- Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not
enabled, or is in the process of enabling it.WriteForwardingStatus
public String toString()
toString
in class Object
Object.toString()
public GlobalClusterMember clone()