|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.StateReason
public class StateReason
Describes a state change for an Amazon EC2 instance.
Constructor Summary | |
---|---|
StateReason()
|
Method Summary | |
---|---|
String |
getCode()
Reason code for the state change. |
String |
getMessage()
Descriptive message for the state change. |
void |
setCode(String code)
Reason code for the state change. |
void |
setMessage(String message)
Descriptive message for the state change. |
String |
toString()
|
StateReason |
withCode(String code)
Reason code for the state change. |
StateReason |
withMessage(String message)
Descriptive message for the state change. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StateReason()
Method Detail |
---|
public String getCode()
public void setCode(String code)
code
- Reason code for the state change.public StateReason withCode(String code)
Returns a reference to this object so that method calls can be chained together.
code
- Reason code for the state change.
public String getMessage()
public void setMessage(String message)
message
- Descriptive message for the state change.public StateReason withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- Descriptive message for the state change.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |