|
|||||||
| 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 | |
|---|---|
boolean |
equals(Object obj)
|
String |
getCode()
Reason code for the state change. |
String |
getMessage()
Descriptive message for the state change. |
int |
hashCode()
|
void |
setCode(String code)
Reason code for the state change. |
void |
setMessage(String message)
Descriptive message for the state change. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
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 |
|---|
getClass, 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 ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||