|
|||||||
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(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotInstanceStateFault()
Method Detail |
---|
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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |