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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBInstanceStatusInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DBInstanceStatusInfo
clone()
boolean
equals(Object obj)
String
getMessage()
Details of the error if there is an error for the instance.Boolean
getNormal()
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.String
getStatus()
Status of the DB instance.String
getStatusType()
This value is currently "read replication."int
hashCode()
Boolean
isNormal()
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.void
setMessage(String message)
Details of the error if there is an error for the instance.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.void
setStatus(String status)
Status of the DB instance.void
setStatusType(String statusType)
This value is currently "read replication."String
toString()
Returns a string representation of this object; useful for testing and debugging.DBInstanceStatusInfo
withMessage(String message)
Details of the error if there is an error for the instance.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.DBInstanceStatusInfo
withStatus(String status)
Status of the DB instance.DBInstanceStatusInfo
withStatusType(String statusType)
This value is currently "read replication."
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DBInstanceStatusInfo clone()
-
-