public class JobFlowExecutionStatusDetail extends Object implements Serializable
Describes the status of the job flow.
Constructor and Description |
---|
JobFlowExecutionStatusDetail()
Default constructor for a new JobFlowExecutionStatusDetail object.
|
JobFlowExecutionStatusDetail(JobFlowExecutionState state,
Date creationDateTime)
Constructs a new JobFlowExecutionStatusDetail object.
|
JobFlowExecutionStatusDetail(String state,
Date creationDateTime)
Constructs a new JobFlowExecutionStatusDetail object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The creation date and time of the job flow.
|
Date |
getEndDateTime()
The completion date and time of the job flow.
|
String |
getLastStateChangeReason()
Description of the job flow last changed state.
|
Date |
getReadyDateTime()
The date and time when the job flow was ready to start running
bootstrap actions.
|
Date |
getStartDateTime()
The start date and time of the job flow.
|
String |
getState()
The state of the job flow.
|
int |
hashCode() |
void |
setCreationDateTime(Date creationDateTime)
The creation date and time of the job flow.
|
void |
setEndDateTime(Date endDateTime)
The completion date and time of the job flow.
|
void |
setLastStateChangeReason(String lastStateChangeReason)
Description of the job flow last changed state.
|
void |
setReadyDateTime(Date readyDateTime)
The date and time when the job flow was ready to start running
bootstrap actions.
|
void |
setStartDateTime(Date startDateTime)
The start date and time of the job flow.
|
void |
setState(JobFlowExecutionState state)
The state of the job flow.
|
void |
setState(String state)
The state of the job flow.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
JobFlowExecutionStatusDetail |
withCreationDateTime(Date creationDateTime)
The creation date and time of the job flow.
|
JobFlowExecutionStatusDetail |
withEndDateTime(Date endDateTime)
The completion date and time of the job flow.
|
JobFlowExecutionStatusDetail |
withLastStateChangeReason(String lastStateChangeReason)
Description of the job flow last changed state.
|
JobFlowExecutionStatusDetail |
withReadyDateTime(Date readyDateTime)
The date and time when the job flow was ready to start running
bootstrap actions.
|
JobFlowExecutionStatusDetail |
withStartDateTime(Date startDateTime)
The start date and time of the job flow.
|
JobFlowExecutionStatusDetail |
withState(JobFlowExecutionState state)
The state of the job flow.
|
JobFlowExecutionStatusDetail |
withState(String state)
The state of the job flow.
|
public JobFlowExecutionStatusDetail()
public JobFlowExecutionStatusDetail(String state, Date creationDateTime)
state
- The state of the job flow.creationDateTime
- The creation date and time of the job flow.public JobFlowExecutionStatusDetail(JobFlowExecutionState state, Date creationDateTime)
state
- The state of the job flow.creationDateTime
- The creation date and time of the job flow.public String getState()
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
JobFlowExecutionState
public void setState(String state)
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
state
- The state of the job flow.JobFlowExecutionState
public JobFlowExecutionStatusDetail withState(String state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
state
- The state of the job flow.JobFlowExecutionState
public void setState(JobFlowExecutionState state)
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
state
- The state of the job flow.JobFlowExecutionState
public JobFlowExecutionStatusDetail withState(JobFlowExecutionState state)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
state
- The state of the job flow.JobFlowExecutionState
public Date getCreationDateTime()
public void setCreationDateTime(Date creationDateTime)
creationDateTime
- The creation date and time of the job flow.public JobFlowExecutionStatusDetail 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 job flow.public Date getStartDateTime()
public void setStartDateTime(Date startDateTime)
startDateTime
- The start date and time of the job flow.public JobFlowExecutionStatusDetail 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 job flow.public Date getReadyDateTime()
public void setReadyDateTime(Date readyDateTime)
readyDateTime
- The date and time when the job flow was ready to start running
bootstrap actions.public JobFlowExecutionStatusDetail withReadyDateTime(Date readyDateTime)
Returns a reference to this object so that method calls can be chained together.
readyDateTime
- The date and time when the job flow was ready to start running
bootstrap actions.public Date getEndDateTime()
public void setEndDateTime(Date endDateTime)
endDateTime
- The completion date and time of the job flow.public JobFlowExecutionStatusDetail 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 job flow.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
- Description of the job flow last changed state.public JobFlowExecutionStatusDetail 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
- Description of the job flow last changed state.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.