public class SpotInstanceStateFault
extends java.lang.Object
implements java.io.Serializable
Describes a Spot instance state change.
Constructor and Description |
---|
SpotInstanceStateFault() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.String getCode()
public void setCode(java.lang.String code)
code
- The reason code for the Spot instance state change.public SpotInstanceStateFault withCode(java.lang.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 java.lang.String getMessage()
public void setMessage(java.lang.String message)
message
- The message for the Spot instance state change.public SpotInstanceStateFault withMessage(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.