Class StepExecutionStatusDetail

java.lang.Object
com.amazonaws.services.elasticmapreduce.model.StepExecutionStatusDetail
All Implemented Interfaces:
Serializable, Cloneable

public class StepExecutionStatusDetail extends Object implements Serializable, Cloneable

The execution state of a step.

See Also:
  • Constructor Details

    • StepExecutionStatusDetail

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

    • setState

      public void setState(String state)

      The state of the job flow step.

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

      public String getState()

      The state of the job flow step.

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

      public StepExecutionStatusDetail withState(String state)

      The state of the job flow step.

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

      public void setState(StepExecutionState state)

      The state of the job flow step.

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

      The state of the job flow step.

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

      public void setCreationDateTime(Date creationDateTime)

      The creation date and time of the step.

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

      public Date getCreationDateTime()

      The creation date and time of the step.

      Returns:
      The creation date and time of the step.
    • withCreationDateTime

      public StepExecutionStatusDetail withCreationDateTime(Date creationDateTime)

      The creation date and time of the step.

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

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

      public Date getStartDateTime()

      The start date and time of the step.

      Returns:
      The start date and time of the step.
    • withStartDateTime

      public StepExecutionStatusDetail withStartDateTime(Date startDateTime)

      The start date and time of the step.

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

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

      public Date getEndDateTime()

      The completion date and time of the step.

      Returns:
      The completion date and time of the step.
    • withEndDateTime

      public StepExecutionStatusDetail withEndDateTime(Date endDateTime)

      The completion date and time of the step.

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

      public void setLastStateChangeReason(String lastStateChangeReason)

      A description of the step's current state.

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

      public String getLastStateChangeReason()

      A description of the step's current state.

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

      public StepExecutionStatusDetail withLastStateChangeReason(String lastStateChangeReason)

      A description of the step's current state.

      Parameters:
      lastStateChangeReason - A description of the step's current 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:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public StepExecutionStatusDetail clone()
      Overrides:
      clone in class Object