Class StepExecutionStatusDetail
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.StepExecutionStatusDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StepExecutionStatusDetail extends Object implements Serializable, Cloneable
The execution state of a step.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StepExecutionStatusDetail()
Default constructor for StepExecutionStatusDetail object.StepExecutionStatusDetail(StepExecutionState state, Date creationDateTime)
Constructs a new StepExecutionStatusDetail object.StepExecutionStatusDetail(String state, Date creationDateTime)
Constructs a new StepExecutionStatusDetail object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepExecutionStatusDetail
clone()
boolean
equals(Object obj)
Date
getCreationDateTime()
The creation date and time of the step.Date
getEndDateTime()
The completion date and time of the step.String
getLastStateChangeReason()
A description of the step's current state.Date
getStartDateTime()
The start date and time of the step.String
getState()
The state of the job flow step.int
hashCode()
void
setCreationDateTime(Date creationDateTime)
The creation date and time of the step.void
setEndDateTime(Date endDateTime)
The completion date and time of the step.void
setLastStateChangeReason(String lastStateChangeReason)
A description of the step's current state.void
setStartDateTime(Date startDateTime)
The start date and time of the step.void
setState(StepExecutionState state)
The state of the job flow step.void
setState(String state)
The state of the job flow step.String
toString()
Returns a string representation of this object; useful for testing and debugging.StepExecutionStatusDetail
withCreationDateTime(Date creationDateTime)
The creation date and time of the step.StepExecutionStatusDetail
withEndDateTime(Date endDateTime)
The completion date and time of the step.StepExecutionStatusDetail
withLastStateChangeReason(String lastStateChangeReason)
A description of the step's current state.StepExecutionStatusDetail
withStartDateTime(Date startDateTime)
The start date and time of the step.StepExecutionStatusDetail
withState(StepExecutionState state)
The state of the job flow step.StepExecutionStatusDetail
withState(String state)
The state of the job flow step.
-
-
-
Constructor Detail
-
StepExecutionStatusDetail
public StepExecutionStatusDetail()
Default constructor for StepExecutionStatusDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
StepExecutionStatusDetail
public StepExecutionStatusDetail(String state, Date creationDateTime)
Constructs a new StepExecutionStatusDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
state
- The state of the job flow step.creationDateTime
- The creation date and time of the step.
-
StepExecutionStatusDetail
public StepExecutionStatusDetail(StepExecutionState state, Date creationDateTime)
Constructs a new StepExecutionStatusDetail object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
state
- The state of the job flow step.creationDateTime
- The creation date and time of the step.
-
-
Method Detail
-
setState
public void setState(String state)
The state of the job flow step.
- Parameters:
state
- The state of the job flow step.- See Also:
StepExecutionState
-
getState
public String getState()
The state of the job flow step.
- Returns:
- The state of the job flow step.
- See Also:
StepExecutionState
-
withState
public StepExecutionStatusDetail withState(String state)
The state of the job flow step.
- Parameters:
state
- The state of the job flow step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StepExecutionState
-
setState
public void setState(StepExecutionState state)
The state of the job flow step.
- Parameters:
state
- The state of the job flow step.- See Also:
StepExecutionState
-
withState
public StepExecutionStatusDetail withState(StepExecutionState state)
The state of the job flow step.
- Parameters:
state
- The state of the job flow step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StepExecutionState
-
setCreationDateTime
public void setCreationDateTime(Date creationDateTime)
The creation date and time of the step.
- Parameters:
creationDateTime
- The creation date and time of the step.
-
getCreationDateTime
public Date getCreationDateTime()
The creation date and time of the step.
- Returns:
- The creation date and time of the step.
-
withCreationDateTime
public StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)
The creation date and time of the step.
- Parameters:
creationDateTime
- The creation date and time of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartDateTime
public void setStartDateTime(Date startDateTime)
The start date and time of the step.
- Parameters:
startDateTime
- The start date and time of the step.
-
getStartDateTime
public Date getStartDateTime()
The start date and time of the step.
- Returns:
- The start date and time of the step.
-
withStartDateTime
public StepExecutionStatusDetail withStartDateTime(Date startDateTime)
The start date and time of the step.
- Parameters:
startDateTime
- The start date and time of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEndDateTime
public void setEndDateTime(Date endDateTime)
The completion date and time of the step.
- Parameters:
endDateTime
- The completion date and time of the step.
-
getEndDateTime
public Date getEndDateTime()
The completion date and time of the step.
- Returns:
- The completion date and time of the step.
-
withEndDateTime
public StepExecutionStatusDetail withEndDateTime(Date endDateTime)
The completion date and time of the step.
- Parameters:
endDateTime
- The completion date and time of the step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastStateChangeReason
public void setLastStateChangeReason(String lastStateChangeReason)
A description of the step's current state.
- Parameters:
lastStateChangeReason
- A description of the step's current state.
-
getLastStateChangeReason
public String getLastStateChangeReason()
A description of the step's current state.
- Returns:
- A description of the step's current state.
-
withLastStateChangeReason
public StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
A description of the step's current state.
- Parameters:
lastStateChangeReason
- A description of the step's current state.- 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 StepExecutionStatusDetail clone()
-
-