@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; useful for testing and debugging.
|
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.ClusterStateChangeReasonCode
public String getCode()
The programmatic code for the state change reason.
ClusterStateChangeReasonCode
public ClusterStateChangeReason withCode(String code)
The programmatic code for the state change reason.
code
- The programmatic code for the state change reason.ClusterStateChangeReasonCode
public void setCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason.
code
- The programmatic code for the state change reason.ClusterStateChangeReasonCode
public ClusterStateChangeReason withCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason.
code
- The programmatic code for the state change reason.ClusterStateChangeReasonCode
public 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 Object
Object.toString()
public ClusterStateChangeReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.