@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 an Aurora 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 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 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 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)
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 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.
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.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.
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.
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.public String toString()
toString
in class Object
Object.toString()
public DBClusterMember clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.