@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBClusterMember extends Object implements Serializable, Cloneable
Contains information about an instance that is part of a DB cluster.
Constructor and Description |
---|
DBClusterMember() |
Modifier and Type | Method and Description |
---|---|
DBClusterMember |
clone() |
boolean |
equals(Object obj) |
String |
getDBClusterParameterGroupStatus()
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
|
String |
getDBInstanceIdentifier()
Specifies the instance identifier for this member of the DB cluster.
|
Boolean |
getIsClusterWriter()
Value that is
true if the cluster member is the primary instance for the DB cluster and
false otherwise. |
Integer |
getPromotionTier()
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of
the existing primary instance.
|
int |
hashCode() |
Boolean |
isClusterWriter()
Value that is
true if the cluster member is the primary instance for the DB cluster and
false otherwise. |
void |
setDBClusterParameterGroupStatus(String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
|
void |
setDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
|
void |
setIsClusterWriter(Boolean isClusterWriter)
Value that is
true if the cluster member is the primary instance for the DB cluster and
false otherwise. |
void |
setPromotionTier(Integer promotionTier)
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of
the existing primary instance.
|
String |
toString()
Returns a string representation of this object.
|
DBClusterMember |
withDBClusterParameterGroupStatus(String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
|
DBClusterMember |
withDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
|
DBClusterMember |
withIsClusterWriter(Boolean isClusterWriter)
Value that is
true if the cluster member is the primary instance for the DB cluster and
false otherwise. |
DBClusterMember |
withPromotionTier(Integer promotionTier)
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of
the existing primary instance.
|
public void setDBInstanceIdentifier(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 String getDBInstanceIdentifier()
Specifies the instance identifier for this member of the DB cluster.
public DBClusterMember withDBInstanceIdentifier(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(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 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(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 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(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 String getDBClusterParameterGroupStatus()
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
public DBClusterMember withDBClusterParameterGroupStatus(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(Integer promotionTier)
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.
promotionTier
- A value that specifies the order in which a Read Replica is promoted to the primary instance after a
failure of the existing primary instance.public Integer getPromotionTier()
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.
public DBClusterMember withPromotionTier(Integer promotionTier)
A value that specifies the order in which a Read Replica is promoted to the primary instance after a failure of the existing primary instance.
promotionTier
- A value that specifies the order in which a Read Replica is promoted to the primary instance after a
failure of the existing primary instance.public String toString()
toString
in class Object
Object.toString()
public DBClusterMember clone()