|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.ClusterStateChangeReason
public class ClusterStateChangeReason
The reason that the cluster changed to its current state.
Constructor Summary | |
---|---|
ClusterStateChangeReason()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCode()
The programmatic code for the state change reason. |
String |
getMessage()
The descriptive message for the state change reason. |
int |
hashCode()
|
void |
setCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason. |
void |
setCode(String code)
The programmatic code for the state change reason. |
void |
setMessage(String message)
The descriptive message for the state change reason. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ClusterStateChangeReason |
withCode(ClusterStateChangeReasonCode code)
The programmatic code for the state change reason. |
ClusterStateChangeReason |
withCode(String code)
The programmatic code for the state change reason. |
ClusterStateChangeReason |
withMessage(String message)
The descriptive message for the state change reason. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClusterStateChangeReason()
Method Detail |
---|
public String getCode()
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, BOOTSTRAP_FAILURE, USER_REQUEST, STEP_FAILURE, ALL_STEPS_COMPLETED
ClusterStateChangeReasonCode
public void setCode(String code)
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, BOOTSTRAP_FAILURE, USER_REQUEST, STEP_FAILURE, ALL_STEPS_COMPLETED
code
- The programmatic code for the state change reason.ClusterStateChangeReasonCode
public ClusterStateChangeReason withCode(String code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, BOOTSTRAP_FAILURE, USER_REQUEST, STEP_FAILURE, ALL_STEPS_COMPLETED
code
- The programmatic code for the state change reason.
ClusterStateChangeReasonCode
public void setCode(ClusterStateChangeReasonCode code)
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, BOOTSTRAP_FAILURE, USER_REQUEST, STEP_FAILURE, ALL_STEPS_COMPLETED
code
- The programmatic code for the state change reason.ClusterStateChangeReasonCode
public ClusterStateChangeReason withCode(ClusterStateChangeReasonCode code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, BOOTSTRAP_FAILURE, USER_REQUEST, STEP_FAILURE, ALL_STEPS_COMPLETED
code
- The programmatic code for the state change reason.
ClusterStateChangeReasonCode
public String getMessage()
public void setMessage(String message)
message
- The descriptive message for the state change reason.public ClusterStateChangeReason withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The descriptive message for the state change reason.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |