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 StepStatus
clone()
boolean
equals(Object obj)
String
getState()
The execution state of the cluster step.StepStateChangeReason
getStateChangeReason()
The reason for the step execution status change.StepTimeline
getTimeline()
The timeline of the cluster step status over time.int
hashCode()
void
setState(StepState state)
The execution state of the cluster step.void
setState(String state)
The execution state of the cluster step.void
setStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.void
setTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.String
toString()
Returns a string representation of this object; useful for testing and debugging.StepStatus
withState(StepState state)
The execution state of the cluster step.StepStatus
withState(String state)
The execution state of the cluster step.StepStatus
withStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.StepStatus
withTimeline(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StepStatus clone()
-
-