public class DBInstanceStatusInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Provides a list of status information for a DB instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
message
Details of the error if there is an error for the instance.
|
private java.lang.Boolean |
normal
Boolean value that is true if the instance is operating normally, or
false if the instance is in an error state.
|
private java.lang.String |
status
Status of the DB instance.
|
private java.lang.String |
statusType
This value is currently "read replication."
|
Constructor and Description |
---|
DBInstanceStatusInfo() |
Modifier and Type | Method and Description |
---|---|
DBInstanceStatusInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMessage()
Details of the error if there is an error for the instance.
|
java.lang.Boolean |
getNormal()
Boolean value that is true if the instance is operating normally, or
false if the instance is in an error state.
|
java.lang.String |
getStatus()
Status of the DB instance.
|
java.lang.String |
getStatusType()
This value is currently "read replication."
|
int |
hashCode() |
java.lang.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(java.lang.String message)
Details of the error if there is an error for the instance.
|
void |
setNormal(java.lang.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(java.lang.String status)
Status of the DB instance.
|
void |
setStatusType(java.lang.String statusType)
This value is currently "read replication."
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBInstanceStatusInfo |
withMessage(java.lang.String message)
Details of the error if there is an error for the instance.
|
DBInstanceStatusInfo |
withNormal(java.lang.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(java.lang.String status)
Status of the DB instance.
|
DBInstanceStatusInfo |
withStatusType(java.lang.String statusType)
This value is currently "read replication."
|
private java.lang.String statusType
This value is currently "read replication."
private java.lang.Boolean normal
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
private java.lang.String status
Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
private java.lang.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.
public void setStatusType(java.lang.String statusType)
This value is currently "read replication."
statusType
- This value is currently "read replication."public java.lang.String getStatusType()
This value is currently "read replication."
public DBInstanceStatusInfo withStatusType(java.lang.String statusType)
This value is currently "read replication."
statusType
- This value is currently "read replication."public void setNormal(java.lang.Boolean normal)
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
normal
- Boolean value that is true if the instance is operating normally,
or false if the instance is in an error state.public java.lang.Boolean getNormal()
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
public DBInstanceStatusInfo withNormal(java.lang.Boolean normal)
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
normal
- Boolean value that is true if the instance is operating normally,
or false if the instance is in an error state.public java.lang.Boolean isNormal()
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
public void setStatus(java.lang.String status)
Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
status
- Status of the DB instance. For a StatusType of read replica, the
values can be replicating, error, stopped, or terminated.public java.lang.String getStatus()
Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
public DBInstanceStatusInfo withStatus(java.lang.String status)
Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
status
- Status of the DB instance. For a StatusType of read replica, the
values can be replicating, error, stopped, or terminated.public void setMessage(java.lang.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.
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.public java.lang.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.
public DBInstanceStatusInfo withMessage(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DBInstanceStatusInfo clone()
clone
in class java.lang.Object