Class DBInstanceStatusInfo

java.lang.Object
com.amazonaws.services.rds.model.DBInstanceStatusInfo
All Implemented Interfaces:
Serializable, Cloneable

public class DBInstanceStatusInfo extends Object implements Serializable, Cloneable

Provides a list of status information for a DB instance.

See Also:
  • Constructor Details

    • DBInstanceStatusInfo

      public DBInstanceStatusInfo()
  • Method Details

    • setStatusType

      public void setStatusType(String statusType)

      This value is currently "read replication."

      Parameters:
      statusType - This value is currently "read replication."
    • getStatusType

      public String getStatusType()

      This value is currently "read replication."

      Returns:
      This value is currently "read replication."
    • withStatusType

      public DBInstanceStatusInfo withStatusType(String statusType)

      This value is currently "read replication."

      Parameters:
      statusType - This value is currently "read replication."
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setNormal

      public void setNormal(Boolean normal)

      Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

      Parameters:
      normal - Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
    • getNormal

      public Boolean getNormal()

      Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

      Returns:
      Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
    • withNormal

      public DBInstanceStatusInfo withNormal(Boolean normal)

      Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

      Parameters:
      normal - Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isNormal

      public Boolean isNormal()

      Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.

      Returns:
      Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
    • setStatus

      public void setStatus(String status)

      Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.

      Parameters:
      status - Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
    • getStatus

      public String getStatus()

      Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.

      Returns:
      Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
    • withStatus

      public DBInstanceStatusInfo withStatus(String status)

      Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.

      Parameters:
      status - Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMessage

      public void setMessage(String message)

      Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.

      Parameters:
      message - Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
    • getMessage

      public String getMessage()

      Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.

      Returns:
      Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
    • withMessage

      public DBInstanceStatusInfo withMessage(String message)

      Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.

      Parameters:
      message - Details of the error if there is an error for the instance. If the instance is not in an error state, this value is blank.
      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 DBInstanceStatusInfo clone()
      Overrides:
      clone in class Object