@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 versions 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; useful for testing and debugging.
|
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.InstanceFleetStateChangeReasonCode
public String getCode()
A code corresponding to the reason the state change occurred.
InstanceFleetStateChangeReasonCode
public 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.InstanceFleetStateChangeReasonCode
public 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.InstanceFleetStateChangeReasonCode
public 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.InstanceFleetStateChangeReasonCode
public 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 Object
Object.toString()
public InstanceFleetStateChangeReason 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.