Class ClusterStateChangeReason
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.ClusterStateChangeReason
- All Implemented Interfaces:
Serializable
,Cloneable
The reason that the cluster changed to its current state.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getCode()
The programmatic code for the state change reason.The descriptive message for the state change reason.int
hashCode()
void
The programmatic code for the state change reason.void
The programmatic code for the state change reason.void
setMessage
(String message) The descriptive message for the state change reason.toString()
Returns a string representation of this object; useful for testing and debugging.The programmatic code for the state change reason.The programmatic code for the state change reason.withMessage
(String message) The descriptive message for the state change reason.
-
Constructor Details
-
ClusterStateChangeReason
public ClusterStateChangeReason()
-
-
Method Details
-
setCode
The programmatic code for the state change reason.
- Parameters:
code
- The programmatic code for the state change reason.- See Also:
-
getCode
The programmatic code for the state change reason.
- Returns:
- The programmatic code for the state change reason.
- See Also:
-
withCode
The programmatic code for the state change reason.
- Parameters:
code
- The programmatic code for the state change reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setCode
The programmatic code for the state change reason.
- Parameters:
code
- The programmatic code for the state change reason.- See Also:
-
withCode
The programmatic code for the state change reason.
- Parameters:
code
- The programmatic code for the state change reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setMessage
The descriptive message for the state change reason.
- Parameters:
message
- The descriptive message for the state change reason.
-
getMessage
The descriptive message for the state change reason.
- Returns:
- The descriptive message for the state change reason.
-
withMessage
The descriptive message for the state change reason.
- Parameters:
message
- The descriptive message for the state change reason.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-