Class StepDetail
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.StepDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StepDetail extends Object implements Serializable, Cloneable
Combines the execution state and configuration of a step.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepDetail()
Default constructor for StepDetail object.StepDetail(StepConfig stepConfig, StepExecutionStatusDetail executionStatusDetail)
Constructs a new StepDetail object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepDetail
clone()
boolean
equals(Object obj)
StepExecutionStatusDetail
getExecutionStatusDetail()
The description of the step status.StepConfig
getStepConfig()
The step configuration.int
hashCode()
void
setExecutionStatusDetail(StepExecutionStatusDetail executionStatusDetail)
The description of the step status.void
setStepConfig(StepConfig stepConfig)
The step configuration.String
toString()
Returns a string representation of this object; useful for testing and debugging.StepDetail
withExecutionStatusDetail(StepExecutionStatusDetail executionStatusDetail)
The description of the step status.StepDetail
withStepConfig(StepConfig stepConfig)
The step configuration.
-
-
-
Constructor Detail
-
StepDetail
public StepDetail()
Default constructor for StepDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
StepDetail
public StepDetail(StepConfig stepConfig, StepExecutionStatusDetail executionStatusDetail)
Constructs a new StepDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
stepConfig
- The step configuration.executionStatusDetail
- The description of the step status.
-
-
Method Detail
-
setStepConfig
public void setStepConfig(StepConfig stepConfig)
The step configuration.
- Parameters:
stepConfig
- The step configuration.
-
getStepConfig
public StepConfig getStepConfig()
The step configuration.
- Returns:
- The step configuration.
-
withStepConfig
public StepDetail withStepConfig(StepConfig stepConfig)
The step configuration.
- Parameters:
stepConfig
- The step configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExecutionStatusDetail
public void setExecutionStatusDetail(StepExecutionStatusDetail executionStatusDetail)
The description of the step status.
- Parameters:
executionStatusDetail
- The description of the step status.
-
getExecutionStatusDetail
public StepExecutionStatusDetail getExecutionStatusDetail()
The description of the step status.
- Returns:
- The description of the step status.
-
withExecutionStatusDetail
public StepDetail withExecutionStatusDetail(StepExecutionStatusDetail executionStatusDetail)
The description of the step status.
- Parameters:
executionStatusDetail
- The description of the step status.- 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 StepDetail clone()
-
-