com.amazonaws.services.elasticmapreduce.model
Class JobFlowExecutionStatusDetail

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.JobFlowExecutionStatusDetail

public class JobFlowExecutionStatusDetail
extends Object


Constructor Summary
JobFlowExecutionStatusDetail()
           
 
Method Summary
 Date getCreationDateTime()
          The date and time the job flow was created.
 Date getEndDateTime()
          The date and time the job flow ended.
 String getLastStateChangeReason()
          Contains a description explaining the reason for the last Amazon EC2 status change.
 Date getReadyDateTime()
          Returns the value of the ReadyDateTime property for this object.
 Date getStartDateTime()
          The date and time the job flow started.
 String getState()
          The state of the job flow.
 void setCreationDateTime(Date creationDateTime)
          The date and time the job flow was created.
 void setEndDateTime(Date endDateTime)
          The date and time the job flow ended.
 void setLastStateChangeReason(String lastStateChangeReason)
          Contains a description explaining the reason for the last Amazon EC2 status change.
 void setReadyDateTime(Date readyDateTime)
          Sets the value of the ReadyDateTime property for this object.
 void setStartDateTime(Date startDateTime)
          The date and time the job flow started.
 void setState(String state)
          The state of the job flow.
 String toString()
           
 JobFlowExecutionStatusDetail withCreationDateTime(Date creationDateTime)
          The date and time the job flow was created.
 JobFlowExecutionStatusDetail withEndDateTime(Date endDateTime)
          The date and time the job flow ended.
 JobFlowExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
          Contains a description explaining the reason for the last Amazon EC2 status change.
 JobFlowExecutionStatusDetail withReadyDateTime(Date readyDateTime)
          Sets the value of the ReadyDateTime property for this object.
 JobFlowExecutionStatusDetail withStartDateTime(Date startDateTime)
          The date and time the job flow started.
 JobFlowExecutionStatusDetail withState(String state)
          The state of the job flow.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobFlowExecutionStatusDetail

public JobFlowExecutionStatusDetail()
Method Detail

getState

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

Constraints:
Pattern: COMPLETED|FAILED|TERMINATED|RUNNING|SHUTTING_DOWN|STARTING|WAITING|BOOTSTRAPPING

Returns:
The state of the job flow.

setState

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

Constraints:
Pattern: COMPLETED|FAILED|TERMINATED|RUNNING|SHUTTING_DOWN|STARTING|WAITING|BOOTSTRAPPING

Parameters:
state - The state of the job flow.

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:
Pattern: 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.

getCreationDateTime

public Date getCreationDateTime()
The date and time the job flow was created.

Returns:
The date and time the job flow was created.

setCreationDateTime

public void setCreationDateTime(Date creationDateTime)
The date and time the job flow was created.

Parameters:
creationDateTime - The date and time the job flow was created.

withCreationDateTime

public JobFlowExecutionStatusDetail withCreationDateTime(Date creationDateTime)
The date and time the job flow was created.

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

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

getStartDateTime

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

Returns:
The date and time the job flow started.

setStartDateTime

public void setStartDateTime(Date startDateTime)
The date and time the job flow started.

Parameters:
startDateTime - The date and time the job flow started.

withStartDateTime

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

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

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

getReadyDateTime

public Date getReadyDateTime()
Returns the value of the ReadyDateTime property for this object.

Returns:
The value of the ReadyDateTime property for this object.

setReadyDateTime

public void setReadyDateTime(Date readyDateTime)
Sets the value of the ReadyDateTime property for this object.

Parameters:
readyDateTime - The new value for the ReadyDateTime property for this object.

withReadyDateTime

public JobFlowExecutionStatusDetail withReadyDateTime(Date readyDateTime)
Sets the value of the ReadyDateTime property for this object.

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

Parameters:
readyDateTime - The new value for the ReadyDateTime property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getEndDateTime

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

Returns:
The date and time the job flow ended.

setEndDateTime

public void setEndDateTime(Date endDateTime)
The date and time the job flow ended.

Parameters:
endDateTime - The date and time the job flow ended.

withEndDateTime

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

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

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

getLastStateChangeReason

public String getLastStateChangeReason()
Contains a description explaining the reason for the last Amazon EC2 status change.

Constraints:
Pattern: MASTER_TERMINATED|START_FAILED|STEP_FAILED

Returns:
Contains a description explaining the reason for the last Amazon EC2 status change.

setLastStateChangeReason

public void setLastStateChangeReason(String lastStateChangeReason)
Contains a description explaining the reason for the last Amazon EC2 status change.

Constraints:
Pattern: MASTER_TERMINATED|START_FAILED|STEP_FAILED

Parameters:
lastStateChangeReason - Contains a description explaining the reason for the last Amazon EC2 status change.

withLastStateChangeReason

public JobFlowExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
Contains a description explaining the reason for the last Amazon EC2 status change.

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

Constraints:
Pattern: MASTER_TERMINATED|START_FAILED|STEP_FAILED

Parameters:
lastStateChangeReason - Contains a description explaining the reason for the last Amazon EC2 status change.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


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