Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.model
Class StepExecutionStatusDetail

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

public class StepExecutionStatusDetail
extends Object

Specifies the execution state of a step.


Constructor Summary
StepExecutionStatusDetail()
          Default constructor for a new StepExecutionStatusDetail object.
StepExecutionStatusDetail(StepExecutionState state, Date creationDateTime)
          Constructs a new StepExecutionStatusDetail object.
StepExecutionStatusDetail(String state, Date creationDateTime)
          Constructs a new StepExecutionStatusDetail object.
 
Method Summary
 boolean equals(Object obj)
           
 Date getCreationDateTime()
          The creation date and time of the step.
 Date getEndDateTime()
          The completion date and time of the step.
 String getLastStateChangeReason()
          A description of the step's current state.
 Date getStartDateTime()
          The start date and time of the step.
 String getState()
          The state of the job flow step.
 int hashCode()
           
 void setCreationDateTime(Date creationDateTime)
          The creation date and time of the step.
 void setEndDateTime(Date endDateTime)
          The completion date and time of the step.
 void setLastStateChangeReason(String lastStateChangeReason)
          A description of the step's current state.
 void setStartDateTime(Date startDateTime)
          The start date and time of the step.
 void setState(StepExecutionState state)
          The state of the job flow step.
 void setState(String state)
          The state of the job flow step.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)
          The creation date and time of the step.
 StepExecutionStatusDetail withEndDateTime(Date endDateTime)
          The completion date and time of the step.
 StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
          A description of the step's current state.
 StepExecutionStatusDetail withStartDateTime(Date startDateTime)
          The start date and time of the step.
 StepExecutionStatusDetail withState(StepExecutionState state)
          The state of the job flow step.
 StepExecutionStatusDetail withState(String state)
          The state of the job flow step.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepExecutionStatusDetail

public StepExecutionStatusDetail()
Default constructor for a new StepExecutionStatusDetail object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


StepExecutionStatusDetail

public StepExecutionStatusDetail(String state,
                                 Date creationDateTime)
Constructs a new StepExecutionStatusDetail 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 step.
creationDateTime - The creation date and time of the step.

StepExecutionStatusDetail

public StepExecutionStatusDetail(StepExecutionState state,
                                 Date creationDateTime)
Constructs a new StepExecutionStatusDetail 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 step.
creationDateTime - The creation date and time of the step.
Method Detail

getState

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

Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED

Returns:
The state of the job flow step.
See Also:
StepExecutionState

setState

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

Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED

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

withState

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

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

Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED

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

setState

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

Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED

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

withState

public StepExecutionStatusDetail withState(StepExecutionState state)
The state of the job flow step.

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

Constraints:
Allowed Values: PENDING, RUNNING, CONTINUE, COMPLETED, CANCELLED, FAILED, INTERRUPTED

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

getCreationDateTime

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

Returns:
The creation date and time of the step.

setCreationDateTime

public void setCreationDateTime(Date creationDateTime)
The creation date and time of the step.

Parameters:
creationDateTime - The creation date and time of the step.

withCreationDateTime

public StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)
The creation date and time of the step.

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

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

Returns:
The start date and time of the step.

setStartDateTime

public void setStartDateTime(Date startDateTime)
The start date and time of the step.

Parameters:
startDateTime - The start date and time of the step.

withStartDateTime

public StepExecutionStatusDetail withStartDateTime(Date startDateTime)
The start date and time of the step.

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

Parameters:
startDateTime - The start date and time of the step.
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 step.

Returns:
The completion date and time of the step.

setEndDateTime

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

Parameters:
endDateTime - The completion date and time of the step.

withEndDateTime

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

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

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

getLastStateChangeReason

public String getLastStateChangeReason()
A description of the step's current state.

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

Returns:
A description of the step's current state.

setLastStateChangeReason

public void setLastStateChangeReason(String lastStateChangeReason)
A description of the step's current state.

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

Parameters:
lastStateChangeReason - A description of the step's current state.

withLastStateChangeReason

public StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)
A description of the step's current 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 - A description of the step's current 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.