|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.SpotInstanceStateFault
public class SpotInstanceStateFault
Describes a Spot Instance state change.
Constructor Summary | |
---|---|
SpotInstanceStateFault()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotInstanceStateFault()
Method Detail |
---|
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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |