public class DBClusterMember
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains information about an instance that is part of a DB cluster.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBClusterParameterGroupStatus
Specifies the status of the DB cluster parameter group for this member of
the DB cluster.
|
private java.lang.String |
dBInstanceIdentifier
Specifies the instance identifier for this member of the DB cluster.
|
private java.lang.Boolean |
isClusterWriter
Value that is
true if the cluster member is the primary
instance for the DB cluster and false otherwise. |
private java.lang.Integer |
promotionTier
A value that specifies the order in which an Aurora Replica is promoted
to the primary instance after a failure of the existing primary instance.
|
Constructor and Description |
---|
DBClusterMember() |
Modifier and Type | Method and Description |
---|---|
DBClusterMember |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBClusterParameterGroupStatus()
Specifies the status of the DB cluster parameter group for this member of
the DB cluster.
|
java.lang.String |
getDBInstanceIdentifier()
Specifies the instance identifier for this member of the DB cluster.
|
java.lang.Boolean |
getIsClusterWriter()
Value that is
true if the cluster member is the primary
instance for the DB cluster and false otherwise. |
java.lang.Integer |
getPromotionTier()
A value that specifies the order in which an Aurora Replica is promoted
to the primary instance after a failure of the existing primary instance.
|
int |
hashCode() |
java.lang.Boolean |
isClusterWriter()
Value that is
true if the cluster member is the primary
instance for the DB cluster and false otherwise. |
void |
setDBClusterParameterGroupStatus(java.lang.String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of
the DB cluster.
|
void |
setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
|
void |
setIsClusterWriter(java.lang.Boolean isClusterWriter)
Value that is
true if the cluster member is the primary
instance for the DB cluster and false otherwise. |
void |
setPromotionTier(java.lang.Integer promotionTier)
A value that specifies the order in which an Aurora Replica is promoted
to the primary instance after a failure of the existing primary instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBClusterMember |
withDBClusterParameterGroupStatus(java.lang.String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of
the DB cluster.
|
DBClusterMember |
withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
|
DBClusterMember |
withIsClusterWriter(java.lang.Boolean isClusterWriter)
Value that is
true if the cluster member is the primary
instance for the DB cluster and false otherwise. |
DBClusterMember |
withPromotionTier(java.lang.Integer promotionTier)
A value that specifies the order in which an Aurora Replica is promoted
to the primary instance after a failure of the existing primary instance.
|
private java.lang.String dBInstanceIdentifier
Specifies the instance identifier for this member of the DB cluster.
private java.lang.Boolean isClusterWriter
Value that is true
if the cluster member is the primary
instance for the DB cluster and false
otherwise.
private java.lang.String dBClusterParameterGroupStatus
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
private java.lang.Integer promotionTier
A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.
public void setDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
dBInstanceIdentifier
- Specifies the instance identifier for this member of the DB
cluster.public java.lang.String getDBInstanceIdentifier()
Specifies the instance identifier for this member of the DB cluster.
public DBClusterMember withDBInstanceIdentifier(java.lang.String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
dBInstanceIdentifier
- Specifies the instance identifier for this member of the DB
cluster.public void setIsClusterWriter(java.lang.Boolean isClusterWriter)
Value that is true
if the cluster member is the primary
instance for the DB cluster and false
otherwise.
isClusterWriter
- Value that is true
if the cluster member is the
primary instance for the DB cluster and false
otherwise.public java.lang.Boolean getIsClusterWriter()
Value that is true
if the cluster member is the primary
instance for the DB cluster and false
otherwise.
true
if the cluster member is the
primary instance for the DB cluster and false
otherwise.public DBClusterMember withIsClusterWriter(java.lang.Boolean isClusterWriter)
Value that is true
if the cluster member is the primary
instance for the DB cluster and false
otherwise.
isClusterWriter
- Value that is true
if the cluster member is the
primary instance for the DB cluster and false
otherwise.public java.lang.Boolean isClusterWriter()
Value that is true
if the cluster member is the primary
instance for the DB cluster and false
otherwise.
true
if the cluster member is the
primary instance for the DB cluster and false
otherwise.public void setDBClusterParameterGroupStatus(java.lang.String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
dBClusterParameterGroupStatus
- Specifies the status of the DB cluster parameter group for this
member of the DB cluster.public java.lang.String getDBClusterParameterGroupStatus()
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
public DBClusterMember withDBClusterParameterGroupStatus(java.lang.String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
dBClusterParameterGroupStatus
- Specifies the status of the DB cluster parameter group for this
member of the DB cluster.public void setPromotionTier(java.lang.Integer promotionTier)
A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.
promotionTier
- A value that specifies the order in which an Aurora Replica is
promoted to the primary instance after a failure of the existing
primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.public java.lang.Integer getPromotionTier()
A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.
public DBClusterMember withPromotionTier(java.lang.Integer promotionTier)
A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.
promotionTier
- A value that specifies the order in which an Aurora Replica is
promoted to the primary instance after a failure of the existing
primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DBClusterMember clone()
clone
in class java.lang.Object