@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()
Indicates whether the cluster member is the primary DB instance for the DB cluster.
|
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() |
Boolean |
isClusterWriter()
Indicates whether the cluster member is the primary DB instance for the DB cluster.
|
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)
Indicates whether the cluster member is the primary DB instance for the DB cluster.
|
void |
setPromotionTier(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.
|
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)
Indicates whether the cluster member is the primary DB instance for the DB cluster.
|
DBClusterMember |
withPromotionTier(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.
|
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)
Indicates whether the cluster member is the primary DB instance for the DB cluster.
isClusterWriter
- Indicates whether the cluster member is the primary DB instance for the DB cluster.public Boolean getIsClusterWriter()
Indicates whether the cluster member is the primary DB instance for the DB cluster.
public DBClusterMember withIsClusterWriter(Boolean isClusterWriter)
Indicates whether the cluster member is the primary DB instance for the DB cluster.
isClusterWriter
- Indicates whether the cluster member is the primary DB instance for the DB cluster.public Boolean isClusterWriter()
Indicates whether the cluster member is the primary DB instance for the DB cluster.
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 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 in the Amazon Aurora User Guide.
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 in the Amazon Aurora User Guide.public 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 in the Amazon Aurora User Guide.
public DBClusterMember withPromotionTier(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 in the Amazon Aurora User Guide.
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 in the Amazon Aurora User Guide.public String toString()
toString
in class Object
Object.toString()
public DBClusterMember clone()