Class StepStatus
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.StepStatus
-
- All Implemented Interfaces:
Serializable,Cloneable
public class StepStatus extends Object implements Serializable, Cloneable
The execution status details of the cluster step.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepStatus()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepStatusclone()booleanequals(Object obj)StringgetState()The execution state of the cluster step.StepStateChangeReasongetStateChangeReason()The reason for the step execution status change.StepTimelinegetTimeline()The timeline of the cluster step status over time.inthashCode()voidsetState(StepState state)The execution state of the cluster step.voidsetState(String state)The execution state of the cluster step.voidsetStateChangeReason(StepStateChangeReason stateChangeReason)The reason for the step execution status change.voidsetTimeline(StepTimeline timeline)The timeline of the cluster step status over time.StringtoString()Returns a string representation of this object; useful for testing and debugging.StepStatuswithState(StepState state)The execution state of the cluster step.StepStatuswithState(String state)The execution state of the cluster step.StepStatuswithStateChangeReason(StepStateChangeReason stateChangeReason)The reason for the step execution status change.StepStatuswithTimeline(StepTimeline timeline)The timeline of the cluster step status over time.
-
-
-
Method Detail
-
setState
public void setState(String state)
The execution state of the cluster step.
- Parameters:
state- The execution state of the cluster step.- See Also:
StepState
-
getState
public String getState()
The execution state of the cluster step.
- Returns:
- The execution state of the cluster step.
- See Also:
StepState
-
withState
public StepStatus withState(String state)
The execution state of the cluster step.
- Parameters:
state- The execution state of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StepState
-
setState
public void setState(StepState state)
The execution state of the cluster step.
- Parameters:
state- The execution state of the cluster step.- See Also:
StepState
-
withState
public StepStatus withState(StepState state)
The execution state of the cluster step.
- Parameters:
state- The execution state of the cluster step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StepState
-
setStateChangeReason
public void setStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
- Parameters:
stateChangeReason- The reason for the step execution status change.
-
getStateChangeReason
public StepStateChangeReason getStateChangeReason()
The reason for the step execution status change.
- Returns:
- The reason for the step execution status change.
-
withStateChangeReason
public StepStatus withStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.
- Parameters:
stateChangeReason- The reason for the step execution status change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTimeline
public void setTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.
- Parameters:
timeline- The timeline of the cluster step status over time.
-
getTimeline
public StepTimeline getTimeline()
The timeline of the cluster step status over time.
- Returns:
- The timeline of the cluster step status over time.
-
withTimeline
public StepStatus withTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.
- Parameters:
timeline- The timeline of the cluster step status over time.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StepStatus clone()
-
-