@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()
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."
|
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)
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 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(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 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(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 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(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(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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.