@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; useful for testing and debugging.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.