@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBInstanceStatusInfo extends Object implements Serializable, Cloneable
Provides a list of status information for a DB instance.
Constructor and Description |
---|
DBInstanceStatusInfo() |
Modifier and Type | Method and Description |
---|---|
DBInstanceStatusInfo |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Details of the error if there is an error for the instance.
|
Boolean |
getNormal()
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
|
String |
getStatus()
The status of the DB instance.
|
String |
getStatusType()
This value is currently "read replication."
|
int |
hashCode() |
Boolean |
isNormal()
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
|
void |
setMessage(String message)
Details of the error if there is an error for the instance.
|
void |
setNormal(Boolean normal)
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
|
void |
setStatus(String status)
The status of the DB instance.
|
void |
setStatusType(String statusType)
This value is currently "read replication."
|
String |
toString()
Returns a string representation of this object.
|
DBInstanceStatusInfo |
withMessage(String message)
Details of the error if there is an error for the instance.
|
DBInstanceStatusInfo |
withNormal(Boolean normal)
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
|
DBInstanceStatusInfo |
withStatus(String status)
The status of the DB instance.
|
DBInstanceStatusInfo |
withStatusType(String statusType)
This value is currently "read replication."
|
public void setStatusType(String statusType)
This value is currently "read replication."
statusType
- This value is currently "read replication."public String getStatusType()
This value is currently "read replication."
public DBInstanceStatusInfo withStatusType(String statusType)
This value is currently "read replication."
statusType
- This value is currently "read replication."public void setNormal(Boolean normal)
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
normal
- Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).public Boolean getNormal()
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
public DBInstanceStatusInfo withNormal(Boolean normal)
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
normal
- Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).public Boolean isNormal()
Indicates whether the instance is operating normally (TRUE) or is in an error state (FALSE).
public void setStatus(String status)
The status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.
status
- The status of the DB instance. For a StatusType of read replica, the values can be replicating,
replication stop point set, replication stop point reached, error, stopped, or terminated.public String getStatus()
The status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.
public DBInstanceStatusInfo withStatus(String status)
The status of the DB instance. For a StatusType of read replica, the values can be replicating, replication stop point set, replication stop point reached, error, stopped, or terminated.
status
- The status of the DB instance. For a StatusType of read replica, the values can be replicating,
replication stop point set, replication stop point reached, error, stopped, or terminated.public void setMessage(String message)
Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank.
message
- Details of the error if there is an error for the instance. If the instance isn't in an error state, this
value is blank.public String getMessage()
Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank.
public DBInstanceStatusInfo withMessage(String message)
Details of the error if there is an error for the instance. If the instance isn't in an error state, this value is blank.
message
- Details of the error if there is an error for the instance. If the instance isn't in an error state, this
value is blank.public String toString()
toString
in class Object
Object.toString()
public DBInstanceStatusInfo clone()