Class DBClusterMember

    • Constructor Detail

      • DBClusterMember

        public DBClusterMember()
    • 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 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object