@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBInstanceStatusInfo extends Object implements Serializable, Cloneable
Provides a list of status information for an 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()
A 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 instance.
|
String |
getStatusType()
This value is currently "
read replication ." |
int |
hashCode() |
Boolean |
isNormal()
A 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)
A 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 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)
A 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 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
."
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)
A Boolean value that is true
if the instance is operating normally, or false
if the
instance is in an error state.
normal
- A Boolean value that is true
if the instance is operating normally, or false
if
the instance is in an error state.public Boolean getNormal()
A Boolean value that is true
if the instance is operating normally, or false
if the
instance is in an error state.
true
if the instance is operating normally, or false
if
the instance is in an error state.public DBInstanceStatusInfo withNormal(Boolean normal)
A Boolean value that is true
if the instance is operating normally, or false
if the
instance is in an error state.
normal
- A Boolean value that is true
if the instance is operating normally, or false
if
the instance is in an error state.public Boolean isNormal()
A Boolean value that is true
if the instance is operating normally, or false
if the
instance is in an error state.
true
if the instance is operating normally, or false
if
the instance is in an error state.public void setStatus(String status)
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
status
- Status of the instance. For a StatusType
of read replica, the values can be
replicating
, error, stopped
, or terminated
.public String getStatus()
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
StatusType
of read replica, the values can be
replicating
, error, stopped
, or terminated
.public DBInstanceStatusInfo withStatus(String status)
Status of the instance. For a StatusType
of read replica, the values can be replicating
, error, stopped
, or terminated
.
status
- Status of the instance. For a StatusType
of read replica, the values can be
replicating
, error, stopped
, or terminated
.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.
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 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(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 String toString()
toString
in class Object
Object.toString()
public DBInstanceStatusInfo clone()