public class SpotInstanceStateFault
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a Spot instance state change.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
code
The reason code for the Spot instance state change.
|
private java.lang.String |
message
The message for the Spot instance state change.
|
Constructor and Description |
---|
SpotInstanceStateFault() |
Modifier and Type | Method and Description |
---|---|
SpotInstanceStateFault |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
The reason code for the Spot instance state change.
|
java.lang.String |
getMessage()
The message for the Spot instance state change.
|
int |
hashCode() |
void |
setCode(java.lang.String code)
The reason code for the Spot instance state change.
|
void |
setMessage(java.lang.String message)
The message for the Spot instance state change.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SpotInstanceStateFault |
withCode(java.lang.String code)
The reason code for the Spot instance state change.
|
SpotInstanceStateFault |
withMessage(java.lang.String message)
The message for the Spot instance state change.
|
private java.lang.String code
The reason code for the Spot instance state change.
private java.lang.String message
The message for the Spot instance state change.
public void setCode(java.lang.String code)
The reason code for the Spot instance state change.
code
- The reason code for the Spot instance state change.public java.lang.String getCode()
The reason code for the Spot instance state change.
public SpotInstanceStateFault withCode(java.lang.String code)
The reason code for the Spot instance state change.
code
- The reason code for the Spot instance state change.public void setMessage(java.lang.String message)
The message for the Spot instance state change.
message
- The message for the Spot instance state change.public java.lang.String getMessage()
The message for the Spot instance state change.
public SpotInstanceStateFault withMessage(java.lang.String message)
The message for the Spot instance state change.
message
- The message for the Spot instance state change.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SpotInstanceStateFault clone()
clone
in class java.lang.Object