|
Did this page help you?Yes No Tell us about it... |
||||||
| 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(java.lang.Object obj)
|
java.lang.String |
getCode()
Reason code for the state change. |
java.lang.String |
getMessage()
Descriptive message for the state change. |
int |
hashCode()
|
void |
setCode(java.lang.String code)
Reason code for the state change. |
void |
setMessage(java.lang.String message)
Descriptive message for the state change. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
StateReason |
withCode(java.lang.String code)
Reason code for the state change. |
StateReason |
withMessage(java.lang.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 java.lang.String getCode()
public void setCode(java.lang.String code)
code - Reason code for the state change.public StateReason withCode(java.lang.String code)
Returns a reference to this object so that method calls can be chained together.
code - Reason code for the state change.
public java.lang.String getMessage()
public void setMessage(java.lang.String message)
message - Descriptive message for the state change.public StateReason withMessage(java.lang.String message)
Returns a reference to this object so that method calls can be chained together.
message - Descriptive message for the state change.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic 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 | ||||||