@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceFleetStateChangeReason extends Object implements Serializable, Cloneable, StructuredPojo
Provides status change reason details for the instance fleet.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions.
| Constructor and Description |
|---|
InstanceFleetStateChangeReason() |
| Modifier and Type | Method and Description |
|---|---|
InstanceFleetStateChangeReason |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
A code corresponding to the reason the state change occurred.
|
String |
getMessage()
An explanatory message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(InstanceFleetStateChangeReasonCode code)
A code corresponding to the reason the state change occurred.
|
void |
setCode(String code)
A code corresponding to the reason the state change occurred.
|
void |
setMessage(String message)
An explanatory message.
|
String |
toString()
Returns a string representation of this object.
|
InstanceFleetStateChangeReason |
withCode(InstanceFleetStateChangeReasonCode code)
A code corresponding to the reason the state change occurred.
|
InstanceFleetStateChangeReason |
withCode(String code)
A code corresponding to the reason the state change occurred.
|
InstanceFleetStateChangeReason |
withMessage(String message)
An explanatory message.
|
public void setCode(String code)
A code corresponding to the reason the state change occurred.
code - A code corresponding to the reason the state change occurred.InstanceFleetStateChangeReasonCodepublic String getCode()
A code corresponding to the reason the state change occurred.
InstanceFleetStateChangeReasonCodepublic InstanceFleetStateChangeReason withCode(String code)
A code corresponding to the reason the state change occurred.
code - A code corresponding to the reason the state change occurred.InstanceFleetStateChangeReasonCodepublic void setCode(InstanceFleetStateChangeReasonCode code)
A code corresponding to the reason the state change occurred.
code - A code corresponding to the reason the state change occurred.InstanceFleetStateChangeReasonCodepublic InstanceFleetStateChangeReason withCode(InstanceFleetStateChangeReasonCode code)
A code corresponding to the reason the state change occurred.
code - A code corresponding to the reason the state change occurred.InstanceFleetStateChangeReasonCodepublic void setMessage(String message)
An explanatory message.
message - An explanatory message.public String getMessage()
An explanatory message.
public InstanceFleetStateChangeReason withMessage(String message)
An explanatory message.
message - An explanatory message.public String toString()
toString in class ObjectObject.toString()public InstanceFleetStateChangeReason clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.