public class StepExecutionStatusDetail
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The execution state of a step.
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationDateTime
The creation date and time of the step.
|
private java.util.Date |
endDateTime
The completion date and time of the step.
|
private java.lang.String |
lastStateChangeReason
A description of the step's current state.
|
private java.util.Date |
startDateTime
The start date and time of the step.
|
private java.lang.String |
state
The state of the job flow step.
|
Constructor and Description |
---|
StepExecutionStatusDetail()
Default constructor for StepExecutionStatusDetail object.
|
StepExecutionStatusDetail(StepExecutionState state,
java.util.Date creationDateTime)
Constructs a new StepExecutionStatusDetail object.
|
StepExecutionStatusDetail(java.lang.String state,
java.util.Date creationDateTime)
Constructs a new StepExecutionStatusDetail object.
|
Modifier and Type | Method and Description |
---|---|
StepExecutionStatusDetail |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDateTime()
The creation date and time of the step.
|
java.util.Date |
getEndDateTime()
The completion date and time of the step.
|
java.lang.String |
getLastStateChangeReason()
A description of the step's current state.
|
java.util.Date |
getStartDateTime()
The start date and time of the step.
|
java.lang.String |
getState()
The state of the job flow step.
|
int |
hashCode() |
void |
setCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the step.
|
void |
setEndDateTime(java.util.Date endDateTime)
The completion date and time of the step.
|
void |
setLastStateChangeReason(java.lang.String lastStateChangeReason)
A description of the step's current state.
|
void |
setStartDateTime(java.util.Date startDateTime)
The start date and time of the step.
|
void |
setState(StepExecutionState state)
The state of the job flow step.
|
void |
setState(java.lang.String state)
The state of the job flow step.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StepExecutionStatusDetail |
withCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the step.
|
StepExecutionStatusDetail |
withEndDateTime(java.util.Date endDateTime)
The completion date and time of the step.
|
StepExecutionStatusDetail |
withLastStateChangeReason(java.lang.String lastStateChangeReason)
A description of the step's current state.
|
StepExecutionStatusDetail |
withStartDateTime(java.util.Date startDateTime)
The start date and time of the step.
|
StepExecutionStatusDetail |
withState(StepExecutionState state)
The state of the job flow step.
|
StepExecutionStatusDetail |
withState(java.lang.String state)
The state of the job flow step.
|
private java.lang.String state
The state of the job flow step.
private java.util.Date creationDateTime
The creation date and time of the step.
private java.util.Date startDateTime
The start date and time of the step.
private java.util.Date endDateTime
The completion date and time of the step.
private java.lang.String lastStateChangeReason
A description of the step's current state.
public StepExecutionStatusDetail()
public StepExecutionStatusDetail(java.lang.String state, java.util.Date creationDateTime)
state
- The state of the job flow step.creationDateTime
- The creation date and time of the step.public StepExecutionStatusDetail(StepExecutionState state, java.util.Date creationDateTime)
state
- The state of the job flow step.creationDateTime
- The creation date and time of the step.public void setState(java.lang.String state)
The state of the job flow step.
state
- The state of the job flow step.StepExecutionState
public java.lang.String getState()
The state of the job flow step.
StepExecutionState
public StepExecutionStatusDetail withState(java.lang.String state)
The state of the job flow step.
state
- The state of the job flow step.StepExecutionState
public void setState(StepExecutionState state)
The state of the job flow step.
state
- The state of the job flow step.StepExecutionState
public StepExecutionStatusDetail withState(StepExecutionState state)
The state of the job flow step.
state
- The state of the job flow step.StepExecutionState
public void setCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the step.
creationDateTime
- The creation date and time of the step.public java.util.Date getCreationDateTime()
The creation date and time of the step.
public StepExecutionStatusDetail withCreationDateTime(java.util.Date creationDateTime)
The creation date and time of the step.
creationDateTime
- The creation date and time of the step.public void setStartDateTime(java.util.Date startDateTime)
The start date and time of the step.
startDateTime
- The start date and time of the step.public java.util.Date getStartDateTime()
The start date and time of the step.
public StepExecutionStatusDetail withStartDateTime(java.util.Date startDateTime)
The start date and time of the step.
startDateTime
- The start date and time of the step.public void setEndDateTime(java.util.Date endDateTime)
The completion date and time of the step.
endDateTime
- The completion date and time of the step.public java.util.Date getEndDateTime()
The completion date and time of the step.
public StepExecutionStatusDetail withEndDateTime(java.util.Date endDateTime)
The completion date and time of the step.
endDateTime
- The completion date and time of the step.public void setLastStateChangeReason(java.lang.String lastStateChangeReason)
A description of the step's current state.
lastStateChangeReason
- A description of the step's current state.public java.lang.String getLastStateChangeReason()
A description of the step's current state.
public StepExecutionStatusDetail withLastStateChangeReason(java.lang.String lastStateChangeReason)
A description of the step's current state.
lastStateChangeReason
- A description of the step's current state.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StepExecutionStatusDetail clone()
clone
in class java.lang.Object