@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterStateChangeReason extends Object implements Serializable, Cloneable, StructuredPojo
The reason that the cluster changed to its current state.
| Constructor and Description |
|---|
ClusterStateChangeReason() |
| Modifier and Type | Method and Description |
|---|---|
ClusterStateChangeReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The programmatic code for the state change reason.
|
String |
getMessage()
The descriptive message for the state change reason.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason.
|
void |
setCode(String code)
The programmatic code for the state change reason.
|
void |
setMessage(String message)
The descriptive message for the state change reason.
|
String |
toString()
Returns a string representation of this object.
|
ClusterStateChangeReason |
withCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason.
|
ClusterStateChangeReason |
withCode(String code)
The programmatic code for the state change reason.
|
ClusterStateChangeReason |
withMessage(String message)
The descriptive message for the state change reason.
|
public void setCode(String code)
The programmatic code for the state change reason.
code - The programmatic code for the state change reason.ClusterStateChangeReasonCodepublic String getCode()
The programmatic code for the state change reason.
ClusterStateChangeReasonCodepublic ClusterStateChangeReason withCode(String code)
The programmatic code for the state change reason.
code - The programmatic code for the state change reason.ClusterStateChangeReasonCodepublic void setCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason.
code - The programmatic code for the state change reason.ClusterStateChangeReasonCodepublic ClusterStateChangeReason withCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason.
code - The programmatic code for the state change reason.ClusterStateChangeReasonCodepublic void setMessage(String message)
The descriptive message for the state change reason.
message - The descriptive message for the state change reason.public String getMessage()
The descriptive message for the state change reason.
public ClusterStateChangeReason withMessage(String message)
The descriptive message for the state change reason.
message - The descriptive message for the state change reason.public String toString()
toString in class ObjectObject.toString()public ClusterStateChangeReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.