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:
  • Constructor Details

    • DBClusterMember

      public DBClusterMember()
  • Method Details

    • 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 and false otherwise.

      Parameters:
      isClusterWriter - Value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.
    • getIsClusterWriter

      public Boolean getIsClusterWriter()

      Value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.

      Returns:
      Value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.
    • withIsClusterWriter

      public DBClusterMember withIsClusterWriter(Boolean isClusterWriter)

      Value that is true if the cluster member is the primary instance for the DB cluster and false otherwise.

      Parameters:
      isClusterWriter - Value that is true if the cluster member is the primary instance for the DB cluster and false 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 and false otherwise.

      Returns:
      Value that is true if the cluster member is the primary instance for the DB cluster and false 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DBClusterMember clone()
      Overrides:
      clone in class Object