Class DBClusterMember
- All Implemented Interfaces:
Serializable
,Cloneable
Contains information about an instance that is part of a DB cluster.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies the status of the DB cluster parameter group for this member of the DB cluster.Specifies the instance identifier for this member of the DB cluster.Value that istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.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()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withDBClusterParameterGroupStatus
(String dBClusterParameterGroupStatus) Specifies the status of the DB cluster parameter group for this member of the DB cluster.withDBInstanceIdentifier
(String dBInstanceIdentifier) Specifies the instance identifier for this member of the DB cluster.withIsClusterWriter
(Boolean isClusterWriter) Value that istrue
if the cluster member is the primary instance for the DB cluster andfalse
otherwise.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.
-
Constructor Details
-
DBClusterMember
public DBClusterMember()
-
-
Method Details
-
setDBInstanceIdentifier
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
Specifies the instance identifier for this member of the DB cluster.
- Returns:
- Specifies the instance identifier for this member of the DB cluster.
-
withDBInstanceIdentifier
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
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
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
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
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-