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