@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SpotInstanceStateFault extends Object implements Serializable, Cloneable
Describes a Spot Instance state change.
Constructor and Description |
---|
SpotInstanceStateFault() |
Modifier and Type | Method and Description |
---|---|
SpotInstanceStateFault |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
The reason code for the Spot Instance state change.
|
String |
getMessage()
The message for the Spot Instance state change.
|
int |
hashCode() |
void |
setCode(String code)
The reason code for the Spot Instance state change.
|
void |
setMessage(String message)
The message for the Spot Instance state change.
|
String |
toString()
Returns a string representation of this object.
|
SpotInstanceStateFault |
withCode(String code)
The reason code for the Spot Instance state change.
|
SpotInstanceStateFault |
withMessage(String message)
The message for the Spot Instance state change.
|
public void setCode(String code)
The reason code for the Spot Instance state change.
code
- The reason code for the Spot Instance state change.public String getCode()
The reason code for the Spot Instance state change.
public SpotInstanceStateFault withCode(String code)
The reason code for the Spot Instance state change.
code
- The reason code for the Spot Instance state change.public void setMessage(String message)
The message for the Spot Instance state change.
message
- The message for the Spot Instance state change.public String getMessage()
The message for the Spot Instance state change.
public SpotInstanceStateFault withMessage(String message)
The message for the Spot Instance state change.
message
- The message for the Spot Instance state change.public String toString()
toString
in class Object
Object.toString()
public SpotInstanceStateFault clone()