com.amazonaws.services.elasticmapreduce.model
Class StepExecutionStatusDetail

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

public class StepExecutionStatusDetail
extends Object


Constructor Summary
StepExecutionStatusDetail()
           
 
Method Summary
 Date getCreationDateTime()
          The date and time the step was created.
 Date getEndDateTime()
          The date and time the step ended.
 String getLastStateChangeReason()
          A description explaining the reason for the last Amazon EC2 status change.
 Date getStartDateTime()
          The date and time the step was started.
 String getState()
          The state of the step.
 void setCreationDateTime(Date creationDateTime)
          The date and time the step was created.
 void setEndDateTime(Date endDateTime)
          The date and time the step ended.
 void setLastStateChangeReason(String lastStateChangeReason)
          A description explaining the reason for the last Amazon EC2 status change.
 void setStartDateTime(Date startDateTime)
          The date and time the step was started.
 void setState(String state)
          The state of the step.
 String toString()
           
 StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)
          The date and time the step was created.
 StepExecutionStatusDetail withEndDateTime(Date endDateTime)
          The date and time the step ended.
 StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
          A description explaining the reason for the last Amazon EC2 status change.
 StepExecutionStatusDetail withStartDateTime(Date startDateTime)
          The date and time the step was started.
 StepExecutionStatusDetail withState(String state)
          The state of the step.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepExecutionStatusDetail

public StepExecutionStatusDetail()
Method Detail

getState

public String getState()
The state of the step.

Constraints:
Pattern: PENDING|RUNNING|COMPLETED|CANCELLED|FAILED|INTERRUPTED

Returns:
The state of the step.

setState

public void setState(String state)
The state of the step.

Constraints:
Pattern: PENDING|RUNNING|COMPLETED|CANCELLED|FAILED|INTERRUPTED

Parameters:
state - The state of the step.

withState

public StepExecutionStatusDetail withState(String state)
The state of the step.

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

Constraints:
Pattern: PENDING|RUNNING|COMPLETED|CANCELLED|FAILED|INTERRUPTED

Parameters:
state - The state of the step.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreationDateTime

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

Returns:
The date and time the step was created.

setCreationDateTime

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

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

withCreationDateTime

public StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)
The date and time the step was created.

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

Parameters:
creationDateTime - The date and time the step 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 step was started.

Returns:
The date and time the step was started.

setStartDateTime

public void setStartDateTime(Date startDateTime)
The date and time the step was started.

Parameters:
startDateTime - The date and time the step was started.

withStartDateTime

public StepExecutionStatusDetail withStartDateTime(Date startDateTime)
The date and time the step was started.

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

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

getEndDateTime

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

Returns:
The date and time the step ended.

setEndDateTime

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

Parameters:
endDateTime - The date and time the step ended.

withEndDateTime

public StepExecutionStatusDetail withEndDateTime(Date endDateTime)
The date and time the step ended.

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

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

getLastStateChangeReason

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

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

setLastStateChangeReason

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

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

withLastStateChangeReason

public StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
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.

Parameters:
lastStateChangeReason - 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.