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 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 istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.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()
Value that istrue
if the cluster member is the primary instance for the DB cluster andfalse
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 istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.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; useful for testing and debugging.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 istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.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.
-
-
-
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
true
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.- Parameters:
isClusterWriter
- Value that istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.
-
getIsClusterWriter
public Boolean getIsClusterWriter()
Value that is
true
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.- Returns:
- Value that is
true
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.
-
withIsClusterWriter
public DBClusterMember withIsClusterWriter(Boolean isClusterWriter)
Value that is
true
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.- Parameters:
isClusterWriter
- Value that istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isClusterWriter
public Boolean isClusterWriter()
Value that is
true
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.- Returns:
- Value that is
true
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.
-
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DBClusterMember clone()
-
-