@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbClusterMember extends Object implements Serializable, Cloneable, StructuredPojo
Information about an instance in the DB cluster.
Constructor and Description |
---|
AwsRdsDbClusterMember() |
Modifier and Type | Method and Description |
---|---|
AwsRdsDbClusterMember |
clone() |
boolean |
equals(Object obj) |
String |
getDbClusterParameterGroupStatus()
The status of the DB cluster parameter group for this member of the DB cluster.
|
String |
getDbInstanceIdentifier()
The instance identifier for this member of the DB cluster.
|
Boolean |
getIsClusterWriter()
Whether the cluster member is the primary instance for the DB cluster.
|
Integer |
getPromotionTier()
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary
instance fails.
|
int |
hashCode() |
Boolean |
isClusterWriter()
Whether the cluster member is the primary instance for the DB cluster.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDbClusterParameterGroupStatus(String dbClusterParameterGroupStatus)
The status of the DB cluster parameter group for this member of the DB cluster.
|
void |
setDbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier for this member of the DB cluster.
|
void |
setIsClusterWriter(Boolean isClusterWriter)
Whether the cluster member is the primary instance for the DB cluster.
|
void |
setPromotionTier(Integer promotionTier)
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary
instance fails.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsDbClusterMember |
withDbClusterParameterGroupStatus(String dbClusterParameterGroupStatus)
The status of the DB cluster parameter group for this member of the DB cluster.
|
AwsRdsDbClusterMember |
withDbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier for this member of the DB cluster.
|
AwsRdsDbClusterMember |
withIsClusterWriter(Boolean isClusterWriter)
Whether the cluster member is the primary instance for the DB cluster.
|
AwsRdsDbClusterMember |
withPromotionTier(Integer promotionTier)
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary
instance fails.
|
public void setIsClusterWriter(Boolean isClusterWriter)
Whether the cluster member is the primary instance for the DB cluster.
isClusterWriter
- Whether the cluster member is the primary instance for the DB cluster.public Boolean getIsClusterWriter()
Whether the cluster member is the primary instance for the DB cluster.
public AwsRdsDbClusterMember withIsClusterWriter(Boolean isClusterWriter)
Whether the cluster member is the primary instance for the DB cluster.
isClusterWriter
- Whether the cluster member is the primary instance for the DB cluster.public Boolean isClusterWriter()
Whether the cluster member is the primary instance for the DB cluster.
public void setPromotionTier(Integer promotionTier)
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary instance fails.
promotionTier
- Specifies the order in which an Aurora replica is promoted to the primary instance when the existing
primary instance fails.public Integer getPromotionTier()
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary instance fails.
public AwsRdsDbClusterMember withPromotionTier(Integer promotionTier)
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary instance fails.
promotionTier
- Specifies the order in which an Aurora replica is promoted to the primary instance when the existing
primary instance fails.public void setDbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier for this member of the DB cluster.
dbInstanceIdentifier
- The instance identifier for this member of the DB cluster.public String getDbInstanceIdentifier()
The instance identifier for this member of the DB cluster.
public AwsRdsDbClusterMember withDbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier for this member of the DB cluster.
dbInstanceIdentifier
- The instance identifier for this member of the DB cluster.public void setDbClusterParameterGroupStatus(String dbClusterParameterGroupStatus)
The status of the DB cluster parameter group for this member of the DB cluster.
dbClusterParameterGroupStatus
- The status of the DB cluster parameter group for this member of the DB cluster.public String getDbClusterParameterGroupStatus()
The status of the DB cluster parameter group for this member of the DB cluster.
public AwsRdsDbClusterMember withDbClusterParameterGroupStatus(String dbClusterParameterGroupStatus)
The status of the DB cluster parameter group for this member of the DB cluster.
dbClusterParameterGroupStatus
- The status of the DB cluster parameter group for this member of the DB cluster.public String toString()
toString
in class Object
Object.toString()
public AwsRdsDbClusterMember clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.