Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DBInstanceStatusInfo

java.lang.Object
  extended by com.amazonaws.services.rds.model.DBInstanceStatusInfo
All Implemented Interfaces:
Serializable

public class DBInstanceStatusInfo
extends Object
implements Serializable

Provides a list of status information for a DB instance.

See Also:
Serialized Form

Constructor Summary
DBInstanceStatusInfo()
           
 
Method Summary
 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."
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBInstanceStatusInfo

public DBInstanceStatusInfo()
Method Detail

getStatusType

public String getStatusType()
This value is currently "read replication."

Returns:
This value is currently "read replication."

setStatusType

public void setStatusType(String statusType)
This value is currently "read replication."

Parameters:
statusType - This value is currently "read replication."

withStatusType

public DBInstanceStatusInfo withStatusType(String statusType)
This value is currently "read replication."

Returns a reference to this object so that method calls can be chained together.

Parameters:
statusType - This value is currently "read replication."
Returns:
A reference to this updated 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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
normal - Boolean value that is true if the instance is operating normally, or false if the instance is in an error state.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - Status of the DB instance. For a StatusType of Read Replica, the values can be replicating, error, stopped, or terminated.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

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.

Returns a reference to this object so that method calls can be chained together.

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:
A reference to this updated 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:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.