Class DBClusterMember
- java.lang.Object
-
- com.amazonaws.services.rds.model.DBClusterMember
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DBClusterMember extends Object implements Serializable, Cloneable
Contains information about an instance that is part of a DB cluster.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBClusterMember()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DBClusterMemberclone()booleanequals(Object obj)StringgetDBClusterParameterGroupStatus()Specifies the status of the DB cluster parameter group for this member of the DB cluster.StringgetDBInstanceIdentifier()Specifies the instance identifier for this member of the DB cluster.BooleangetIsClusterWriter()Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.IntegergetPromotionTier()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.inthashCode()BooleanisClusterWriter()Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.voidsetDBClusterParameterGroupStatus(String dBClusterParameterGroupStatus)Specifies the status of the DB cluster parameter group for this member of the DB cluster.voidsetDBInstanceIdentifier(String dBInstanceIdentifier)Specifies the instance identifier for this member of the DB cluster.voidsetIsClusterWriter(Boolean isClusterWriter)Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.voidsetPromotionTier(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.DBClusterMemberwithDBClusterParameterGroupStatus(String dBClusterParameterGroupStatus)Specifies the status of the DB cluster parameter group for this member of the DB cluster.DBClusterMemberwithDBInstanceIdentifier(String dBInstanceIdentifier)Specifies the instance identifier for this member of the DB cluster.DBClusterMemberwithIsClusterWriter(Boolean isClusterWriter)Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.DBClusterMemberwithPromotionTier(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.
-
-
-
Method Detail
-
setDBInstanceIdentifier
public void setDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
- Parameters:
dBInstanceIdentifier- Specifies the instance identifier for this member of the DB cluster.
-
getDBInstanceIdentifier
public String getDBInstanceIdentifier()
Specifies the instance identifier for this member of the DB cluster.
- Returns:
- Specifies the instance identifier for this member of the DB cluster.
-
withDBInstanceIdentifier
public DBClusterMember withDBInstanceIdentifier(String dBInstanceIdentifier)
Specifies the instance identifier for this member of the DB cluster.
- Parameters:
dBInstanceIdentifier- Specifies the instance identifier for this member of the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIsClusterWriter
public void setIsClusterWriter(Boolean isClusterWriter)
Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.- Parameters:
isClusterWriter- Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.
-
getIsClusterWriter
public Boolean getIsClusterWriter()
Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.- Returns:
- Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.
-
withIsClusterWriter
public DBClusterMember withIsClusterWriter(Boolean isClusterWriter)
Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.- Parameters:
isClusterWriter- Value that istrueif the cluster member is the primary instance for the DB cluster andfalseotherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isClusterWriter
public Boolean isClusterWriter()
Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.- Returns:
- Value that is
trueif the cluster member is the primary instance for the DB cluster andfalseotherwise.
-
setDBClusterParameterGroupStatus
public void setDBClusterParameterGroupStatus(String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
- Parameters:
dBClusterParameterGroupStatus- Specifies the status of the DB cluster parameter group for this member of the DB cluster.
-
getDBClusterParameterGroupStatus
public String getDBClusterParameterGroupStatus()
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
- Returns:
- Specifies the status of the DB cluster parameter group for this member of the DB cluster.
-
withDBClusterParameterGroupStatus
public DBClusterMember withDBClusterParameterGroupStatus(String dBClusterParameterGroupStatus)
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
- Parameters:
dBClusterParameterGroupStatus- Specifies the status of the DB cluster parameter group for this member of the DB cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPromotionTier
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.
- Parameters:
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.
-
getPromotionTier
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.
- Returns:
- 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.
-
withPromotionTier
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DBClusterMember clone()
-
-