public class DBInstanceStatusInfo extends Object implements Serializable
Provides a list of status information for a DB instance.
Constructor and Description |
---|
DBInstanceStatusInfo() |
Modifier and Type | Method and Description |
---|---|
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 String getStatusType()
public void setStatusType(String statusType)
statusType
- This value is currently "read replication."public DBInstanceStatusInfo withStatusType(String statusType)
Returns a reference to this object so that method calls can be chained together.
statusType
- This value is currently "read replication."public Boolean isNormal()
public void setNormal(Boolean normal)
normal
- 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)
Returns a reference to this object so that method calls can be chained together.
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()
public String getStatus()
public void setStatus(String status)
status
- 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)
Returns a reference to this object so that method calls can be chained together.
status
- Status of the DB instance. For a StatusType of read replica, the
values can be replicating, error, stopped, or terminated.public String getMessage()
public void setMessage(String message)
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 DBInstanceStatusInfo withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
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()
Copyright © 2014. All rights reserved.