Class JobFlowExecutionStatusDetail
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.JobFlowExecutionStatusDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class JobFlowExecutionStatusDetail extends Object implements Serializable, Cloneable
Describes the status of the job flow.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobFlowExecutionStatusDetail()
Default constructor for JobFlowExecutionStatusDetail object.JobFlowExecutionStatusDetail(JobFlowExecutionState state, Date creationDateTime)
Constructs a new JobFlowExecutionStatusDetail object.JobFlowExecutionStatusDetail(String state, Date creationDateTime)
Constructs a new JobFlowExecutionStatusDetail object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobFlowExecutionStatusDetail
clone()
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.
-
-
-
Constructor Detail
-
JobFlowExecutionStatusDetail
public JobFlowExecutionStatusDetail()
Default constructor for JobFlowExecutionStatusDetail object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
JobFlowExecutionStatusDetail
public JobFlowExecutionStatusDetail(String state, Date creationDateTime)
Constructs a new JobFlowExecutionStatusDetail 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.creationDateTime
- The creation date and time of the job flow.
-
JobFlowExecutionStatusDetail
public JobFlowExecutionStatusDetail(JobFlowExecutionState state, Date creationDateTime)
Constructs a new JobFlowExecutionStatusDetail 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.creationDateTime
- The creation date and time of the job flow.
-
-
Method Detail
-
setState
public void setState(String state)
The state of the job flow.
- Parameters:
state
- The state of the job flow.- See Also:
JobFlowExecutionState
-
getState
public String getState()
The state of the job flow.
- Returns:
- The state of the job flow.
- See Also:
JobFlowExecutionState
-
withState
public JobFlowExecutionStatusDetail withState(String state)
The state of the job flow.
- Parameters:
state
- The state of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobFlowExecutionState
-
setState
public void setState(JobFlowExecutionState state)
The state of the job flow.
- Parameters:
state
- The state of the job flow.- See Also:
JobFlowExecutionState
-
withState
public JobFlowExecutionStatusDetail withState(JobFlowExecutionState state)
The state of the job flow.
- Parameters:
state
- The state of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobFlowExecutionState
-
setCreationDateTime
public void setCreationDateTime(Date creationDateTime)
The creation date and time of the job flow.
- Parameters:
creationDateTime
- The creation date and time of the job flow.
-
getCreationDateTime
public Date getCreationDateTime()
The creation date and time of the job flow.
- Returns:
- The creation date and time of the job flow.
-
withCreationDateTime
public JobFlowExecutionStatusDetail withCreationDateTime(Date creationDateTime)
The creation date and time of the job flow.
- Parameters:
creationDateTime
- The creation date and time of the job flow.- 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 job flow.
- Parameters:
startDateTime
- The start date and time of the job flow.
-
getStartDateTime
public Date getStartDateTime()
The start date and time of the job flow.
- Returns:
- The start date and time of the job flow.
-
withStartDateTime
public JobFlowExecutionStatusDetail withStartDateTime(Date startDateTime)
The start date and time of the job flow.
- Parameters:
startDateTime
- The start date and time of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setReadyDateTime
public void setReadyDateTime(Date readyDateTime)
The date and time when the job flow was ready to start running bootstrap actions.
- Parameters:
readyDateTime
- The date and time when the job flow was ready to start running bootstrap actions.
-
getReadyDateTime
public Date getReadyDateTime()
The date and time when the job flow was ready to start running bootstrap actions.
- Returns:
- The date and time when the job flow was ready to start running bootstrap actions.
-
withReadyDateTime
public JobFlowExecutionStatusDetail withReadyDateTime(Date readyDateTime)
The date and time when the job flow was ready to start running bootstrap actions.
- Parameters:
readyDateTime
- The date and time when the job flow was ready to start running bootstrap actions.- 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 job flow.
- Parameters:
endDateTime
- The completion date and time of the job flow.
-
getEndDateTime
public Date getEndDateTime()
The completion date and time of the job flow.
- Returns:
- The completion date and time of the job flow.
-
withEndDateTime
public JobFlowExecutionStatusDetail withEndDateTime(Date endDateTime)
The completion date and time of the job flow.
- Parameters:
endDateTime
- The completion date and time of the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastStateChangeReason
public void setLastStateChangeReason(String lastStateChangeReason)
Description of the job flow last changed state.
- Parameters:
lastStateChangeReason
- Description of the job flow last changed state.
-
getLastStateChangeReason
public String getLastStateChangeReason()
Description of the job flow last changed state.
- Returns:
- Description of the job flow last changed state.
-
withLastStateChangeReason
public JobFlowExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
Description of the job flow last changed state.
- Parameters:
lastStateChangeReason
- Description of the job flow last changed 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 JobFlowExecutionStatusDetail clone()
-
-