@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRdsDbStatusInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the status of a read replica.
Constructor and Description |
---|
AwsRdsDbStatusInfo() |
Modifier and Type | Method and Description |
---|---|
AwsRdsDbStatusInfo |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
If the read replica is currently in an error state, provides the error details.
|
Boolean |
getNormal()
Whether the read replica instance is operating normally.
|
String |
getStatus()
The status of the read replica instance.
|
String |
getStatusType()
The type of status.
|
int |
hashCode() |
Boolean |
isNormal()
Whether the read replica instance is operating normally.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMessage(String message)
If the read replica is currently in an error state, provides the error details.
|
void |
setNormal(Boolean normal)
Whether the read replica instance is operating normally.
|
void |
setStatus(String status)
The status of the read replica instance.
|
void |
setStatusType(String statusType)
The type of status.
|
String |
toString()
Returns a string representation of this object.
|
AwsRdsDbStatusInfo |
withMessage(String message)
If the read replica is currently in an error state, provides the error details.
|
AwsRdsDbStatusInfo |
withNormal(Boolean normal)
Whether the read replica instance is operating normally.
|
AwsRdsDbStatusInfo |
withStatus(String status)
The status of the read replica instance.
|
AwsRdsDbStatusInfo |
withStatusType(String statusType)
The type of status.
|
public void setStatusType(String statusType)
The type of status. For a read replica, the status type is read replication.
statusType
- The type of status. For a read replica, the status type is read replication.public String getStatusType()
The type of status. For a read replica, the status type is read replication.
public AwsRdsDbStatusInfo withStatusType(String statusType)
The type of status. For a read replica, the status type is read replication.
statusType
- The type of status. For a read replica, the status type is read replication.public void setNormal(Boolean normal)
Whether the read replica instance is operating normally.
normal
- Whether the read replica instance is operating normally.public Boolean getNormal()
Whether the read replica instance is operating normally.
public AwsRdsDbStatusInfo withNormal(Boolean normal)
Whether the read replica instance is operating normally.
normal
- Whether the read replica instance is operating normally.public Boolean isNormal()
Whether the read replica instance is operating normally.
public void setStatus(String status)
The status of the read replica instance.
status
- The status of the read replica instance.public String getStatus()
The status of the read replica instance.
public AwsRdsDbStatusInfo withStatus(String status)
The status of the read replica instance.
status
- The status of the read replica instance.public void setMessage(String message)
If the read replica is currently in an error state, provides the error details.
message
- If the read replica is currently in an error state, provides the error details.public String getMessage()
If the read replica is currently in an error state, provides the error details.
public AwsRdsDbStatusInfo withMessage(String message)
If the read replica is currently in an error state, provides the error details.
message
- If the read replica is currently in an error state, provides the error details.public String toString()
toString
in class Object
Object.toString()
public AwsRdsDbStatusInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.