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 String getCode()
public void setCode(String code)
code - The reason code for the Spot instance state change.public SpotInstanceStateFault withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code - The reason code for the Spot instance state change.public String getMessage()
public void setMessage(String message)
message - The message for the Spot instance state change.public SpotInstanceStateFault withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message - The message for the Spot instance state change.public String toString()
toString in class ObjectObject.toString()public SpotInstanceStateFault clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.