|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.InstanceGroupStateChangeReason
public class InstanceGroupStateChangeReason
The status change reason details for the instance group.
Constructor Summary | |
---|---|
InstanceGroupStateChangeReason()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getCode()
The programmable code for the state change reason. |
String |
getMessage()
The status change reason description. |
int |
hashCode()
|
void |
setCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason. |
void |
setCode(String code)
The programmable code for the state change reason. |
void |
setMessage(String message)
The status change reason description. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceGroupStateChangeReason |
withCode(InstanceGroupStateChangeReasonCode code)
The programmable code for the state change reason. |
InstanceGroupStateChangeReason |
withCode(String code)
The programmable code for the state change reason. |
InstanceGroupStateChangeReason |
withMessage(String message)
The status change reason description. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceGroupStateChangeReason()
Method Detail |
---|
public String getCode()
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, CLUSTER_TERMINATED
InstanceGroupStateChangeReasonCode
public void setCode(String code)
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, CLUSTER_TERMINATED
code
- The programmable code for the state change reason.InstanceGroupStateChangeReasonCode
public InstanceGroupStateChangeReason 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, CLUSTER_TERMINATED
code
- The programmable code for the state change reason.
InstanceGroupStateChangeReasonCode
public void setCode(InstanceGroupStateChangeReasonCode code)
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, CLUSTER_TERMINATED
code
- The programmable code for the state change reason.InstanceGroupStateChangeReasonCode
public InstanceGroupStateChangeReason withCode(InstanceGroupStateChangeReasonCode code)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: INTERNAL_ERROR, VALIDATION_ERROR, INSTANCE_FAILURE, CLUSTER_TERMINATED
code
- The programmable code for the state change reason.
InstanceGroupStateChangeReasonCode
public String getMessage()
public void setMessage(String message)
message
- The status change reason description.public InstanceGroupStateChangeReason withMessage(String message)
Returns a reference to this object so that method calls can be chained together.
message
- The status change reason description.
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 |