Class StepStateChangeReason
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.StepStateChangeReason
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StepStateChangeReason extends Object implements Serializable, Cloneable
The details of the step state change reason.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepStateChangeReason()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepStateChangeReason
clone()
boolean
equals(Object obj)
String
getCode()
The programmable code for the state change reason.String
getMessage()
The descriptive message for the state change reason.int
hashCode()
void
setCode(StepStateChangeReasonCode 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 descriptive message for the state change reason.String
toString()
Returns a string representation of this object; useful for testing and debugging.StepStateChangeReason
withCode(StepStateChangeReasonCode code)
The programmable code for the state change reason.StepStateChangeReason
withCode(String code)
The programmable code for the state change reason.StepStateChangeReason
withMessage(String message)
The descriptive message for the state change reason.
-
-
-
Method Detail
-
setCode
public void setCode(String code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
- Parameters:
code
- The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.- See Also:
StepStateChangeReasonCode
-
getCode
public String getCode()
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
- Returns:
- The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
- See Also:
StepStateChangeReasonCode
-
withCode
public StepStateChangeReason withCode(String code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
- Parameters:
code
- The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StepStateChangeReasonCode
-
setCode
public void setCode(StepStateChangeReasonCode code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
- Parameters:
code
- The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.- See Also:
StepStateChangeReasonCode
-
withCode
public StepStateChangeReason withCode(StepStateChangeReasonCode code)
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
- Parameters:
code
- The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StepStateChangeReasonCode
-
setMessage
public void setMessage(String message)
The descriptive message for the state change reason.
- Parameters:
message
- The descriptive message for the state change reason.
-
getMessage
public String getMessage()
The descriptive message for the state change reason.
- Returns:
- The descriptive message for the state change reason.
-
withMessage
public StepStateChangeReason withMessage(String message)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StepStateChangeReason clone()
-
-