Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.model
Class JobFlowExecutionStatusDetail

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.JobFlowExecutionStatusDetail
All Implemented Interfaces:
Serializable

public class JobFlowExecutionStatusDetail
extends Object
implements Serializable

Describes the status of the job flow.

See Also:
Serialized Form

Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobFlowExecutionStatusDetail

public JobFlowExecutionStatusDetail()
Default constructor for a new JobFlowExecutionStatusDetail object. Callers should use the setter or fluent setter (with...) methods to initialize this 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

getState

public String getState()
The state of the job flow.

Constraints:
Allowed Values: COMPLETED, FAILED, TERMINATED, RUNNING, SHUTTING_DOWN, STARTING, WAITING, BOOTSTRAPPING

Returns:
The state of the job flow.
See Also:
JobFlowExecutionState

setState

public void setState(String state)
The state of the job flow.

Constraints:
Allowed Values: COMPLETED, FAILED, TERMINATED, RUNNING, SHUTTING_DOWN, STARTING, WAITING, BOOTSTRAPPING

Parameters:
state - The state of the job flow.
See Also:
JobFlowExecutionState

withState

public JobFlowExecutionStatusDetail withState(String state)
The state of the job flow.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: COMPLETED, FAILED, TERMINATED, RUNNING, SHUTTING_DOWN, STARTING, WAITING, BOOTSTRAPPING

Parameters:
state - The state of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
JobFlowExecutionState

setState

public void setState(JobFlowExecutionState state)
The state of the job flow.

Constraints:
Allowed Values: COMPLETED, FAILED, TERMINATED, RUNNING, SHUTTING_DOWN, STARTING, WAITING, BOOTSTRAPPING

Parameters:
state - The state of the job flow.
See Also:
JobFlowExecutionState

withState

public JobFlowExecutionStatusDetail withState(JobFlowExecutionState state)
The state of the job flow.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: COMPLETED, FAILED, TERMINATED, RUNNING, SHUTTING_DOWN, STARTING, WAITING, BOOTSTRAPPING

Parameters:
state - The state of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
JobFlowExecutionState

getCreationDateTime

public Date getCreationDateTime()
The creation date and time of the job flow.

Returns:
The creation date and time of the job flow.

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.

withCreationDateTime

public JobFlowExecutionStatusDetail withCreationDateTime(Date creationDateTime)
The creation date and time of the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
creationDateTime - The creation date and time of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.

getStartDateTime

public Date getStartDateTime()
The start date and time of the job flow.

Returns:
The start date and time of the job flow.

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.

withStartDateTime

public JobFlowExecutionStatusDetail withStartDateTime(Date startDateTime)
The start date and time of the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
startDateTime - The start date and time of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withReadyDateTime

public JobFlowExecutionStatusDetail withReadyDateTime(Date readyDateTime)
The date and time when the job flow was ready to start running bootstrap actions.

Returns a reference to this object so that method calls can be chained together.

Parameters:
readyDateTime - The date and time when the job flow was ready to start running bootstrap actions.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndDateTime

public Date getEndDateTime()
The completion date and time of the job flow.

Returns:
The completion date and time of the job flow.

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.

withEndDateTime

public JobFlowExecutionStatusDetail withEndDateTime(Date endDateTime)
The completion date and time of the job flow.

Returns a reference to this object so that method calls can be chained together.

Parameters:
endDateTime - The completion date and time of the job flow.
Returns:
A reference to this updated object so that method calls can be chained together.

getLastStateChangeReason

public String getLastStateChangeReason()
Description of the job flow last changed state.

Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*

Returns:
Description of the job flow last changed state.

setLastStateChangeReason

public void setLastStateChangeReason(String lastStateChangeReason)
Description of the job flow last changed state.

Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*

Parameters:
lastStateChangeReason - Description of the job flow last changed state.

withLastStateChangeReason

public JobFlowExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
Description of the job flow last changed state.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*

Parameters:
lastStateChangeReason - Description of the job flow last changed state.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.