|
|||||||
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
Spot Instance State Fault
Constructor Summary | |
---|---|
SpotInstanceStateFault()
|
Method Summary | |
---|---|
String |
getCode()
Returns the value of the Code property for this object. |
String |
getMessage()
Returns the value of the Message property for this object. |
void |
setCode(String code)
Sets the value of the Code property for this object. |
void |
setMessage(String message)
Sets the value of the Message property for this object. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SpotInstanceStateFault |
withCode(String code)
Sets the value of the Code property for this object. |
SpotInstanceStateFault |
withMessage(String message)
Sets the value of the Message property for this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SpotInstanceStateFault()
Method Detail |
---|
public String getCode()
public void setCode(String code)
code
- The new value for the Code property for this object.public SpotInstanceStateFault withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- The new value for the Code property for this object.
public String getMessage()
public void setMessage(String message)
message
- The new value for the Message property for this object.public SpotInstanceStateFault withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The new value for the Message property for this object.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |