Class DBInstanceStatusInfo
- java.lang.Object
-
- com.amazonaws.services.rds.model.DBInstanceStatusInfo
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DBInstanceStatusInfo extends Object implements Serializable, Cloneable
Provides a list of status information for a DB instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DBInstanceStatusInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DBInstanceStatusInfoclone()booleanequals(Object obj)StringgetMessage()Details of the error if there is an error for the instance.BooleangetNormal()Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.StringgetStatus()Status of the DB instance.StringgetStatusType()This value is currently "read replication."inthashCode()BooleanisNormal()Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.voidsetMessage(String message)Details of the error if there is an error for the instance.voidsetNormal(Boolean normal)Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.voidsetStatus(String status)Status of the DB instance.voidsetStatusType(String statusType)This value is currently "read replication."StringtoString()Returns a string representation of this object; useful for testing and debugging.DBInstanceStatusInfowithMessage(String message)Details of the error if there is an error for the instance.DBInstanceStatusInfowithNormal(Boolean normal)Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.DBInstanceStatusInfowithStatus(String status)Status of the DB instance.DBInstanceStatusInfowithStatusType(String statusType)This value is currently "read replication."
-
-
-
Method Detail
-
setStatusType
public void setStatusType(String statusType)
This value is currently "read replication."
- Parameters:
statusType- This value is currently "read replication."
-
getStatusType
public String getStatusType()
This value is currently "read replication."
- Returns:
- This value is currently "read replication."
-
withStatusType
public DBInstanceStatusInfo withStatusType(String statusType)
This value is currently "read replication."
- Parameters:
statusType- This value is currently "read replication."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNormal
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.
- Parameters:
normal- Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
-
getNormal
public Boolean getNormal()
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
- Returns:
- Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
-
withNormal
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.
- Parameters:
normal- Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isNormal
public Boolean isNormal()
Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
- Returns:
- Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
-
setStatus
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.
- Parameters:
status- Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
-
getStatus
public String getStatus()
Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
- Returns:
- Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.
-
withStatus
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.
- Parameters:
status- Status of the DB instance. For a StatusType of read replica, the values can be replicating, error, stopped, or terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMessage
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.
- Parameters:
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.
-
getMessage
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.
- Returns:
- 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.
-
withMessage
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DBInstanceStatusInfo clone()
-
-