public class StepExecutionStatusDetail extends Object implements Serializable
The execution state of a step.
Constructor and Description |
---|
StepExecutionStatusDetail()
Default constructor for a new StepExecutionStatusDetail object.
|
StepExecutionStatusDetail(StepExecutionState state,
Date creationDateTime)
Constructs a new StepExecutionStatusDetail object.
|
StepExecutionStatusDetail(String state,
Date creationDateTime)
Constructs a new StepExecutionStatusDetail object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public StepExecutionStatusDetail()
public StepExecutionStatusDetail(String state, Date creationDateTime)
state
- The state of the job flow step.creationDateTime
- The creation date and time of the step.public StepExecutionStatusDetail(StepExecutionState state, Date creationDateTime)
state
- The state of the job flow step.creationDateTime
- The creation date and time of the step.public String getState()
Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED
StepExecutionState
public void setState(String state)
Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The state of the job flow step.StepExecutionState
public StepExecutionStatusDetail withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The state of the job flow step.StepExecutionState
public void setState(StepExecutionState state)
Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The state of the job flow step.StepExecutionState
public StepExecutionStatusDetail withState(StepExecutionState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED
state
- The state of the job flow step.StepExecutionState
public Date getCreationDateTime()
public void setCreationDateTime(Date creationDateTime)
creationDateTime
- The creation date and time of the step.public StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)
Returns a reference to this object so that method calls can be chained together.
creationDateTime
- The creation date and time of the step.public Date getStartDateTime()
public void setStartDateTime(Date startDateTime)
startDateTime
- The start date and time of the step.public StepExecutionStatusDetail withStartDateTime(Date startDateTime)
Returns a reference to this object so that method calls can be chained together.
startDateTime
- The start date and time of the step.public Date getEndDateTime()
public void setEndDateTime(Date endDateTime)
endDateTime
- The completion date and time of the step.public StepExecutionStatusDetail withEndDateTime(Date endDateTime)
Returns a reference to this object so that method calls can be chained together.
endDateTime
- The completion date and time of the step.public String getLastStateChangeReason()
Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setLastStateChangeReason(String lastStateChangeReason)
Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
lastStateChangeReason
- A description of the step's current state.public StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
lastStateChangeReason
- A description of the step's current state.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.