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 JobFlowExecutionStatusDetailclone()booleanequals(Object obj)DategetCreationDateTime()The creation date and time of the job flow.DategetEndDateTime()The completion date and time of the job flow.StringgetLastStateChangeReason()Description of the job flow last changed state.DategetReadyDateTime()The date and time when the job flow was ready to start running bootstrap actions.DategetStartDateTime()The start date and time of the job flow.StringgetState()The state of the job flow.inthashCode()voidsetCreationDateTime(Date creationDateTime)The creation date and time of the job flow.voidsetEndDateTime(Date endDateTime)The completion date and time of the job flow.voidsetLastStateChangeReason(String lastStateChangeReason)Description of the job flow last changed state.voidsetReadyDateTime(Date readyDateTime)The date and time when the job flow was ready to start running bootstrap actions.voidsetStartDateTime(Date startDateTime)The start date and time of the job flow.voidsetState(JobFlowExecutionState state)The state of the job flow.voidsetState(String state)The state of the job flow.StringtoString()Returns a string representation of this object; useful for testing and debugging.JobFlowExecutionStatusDetailwithCreationDateTime(Date creationDateTime)The creation date and time of the job flow.JobFlowExecutionStatusDetailwithEndDateTime(Date endDateTime)The completion date and time of the job flow.JobFlowExecutionStatusDetailwithLastStateChangeReason(String lastStateChangeReason)Description of the job flow last changed state.JobFlowExecutionStatusDetailwithReadyDateTime(Date readyDateTime)The date and time when the job flow was ready to start running bootstrap actions.JobFlowExecutionStatusDetailwithStartDateTime(Date startDateTime)The start date and time of the job flow.JobFlowExecutionStatusDetailwithState(JobFlowExecutionState state)The state of the job flow.JobFlowExecutionStatusDetailwithState(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public JobFlowExecutionStatusDetail clone()
-
-