com.amazonaws.services.elasticmapreduce.model
Class StepStatus

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

public class StepStatus
extends Object
implements Serializable

The execution status details of the cluster step.

See Also:
Serialized Form

Constructor Summary
StepStatus()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getState()
          The execution state of the cluster step.
 StepStateChangeReason getStateChangeReason()
          The reason for the step execution status change.
 StepTimeline getTimeline()
          The timeline of the cluster step status over time.
 int hashCode()
           
 void setState(StepState state)
          The execution state of the cluster step.
 void setState(String state)
          The execution state of the cluster step.
 void setStateChangeReason(StepStateChangeReason stateChangeReason)
          The reason for the step execution status change.
 void setTimeline(StepTimeline timeline)
          The timeline of the cluster step status over time.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 StepStatus withState(StepState state)
          The execution state of the cluster step.
 StepStatus withState(String state)
          The execution state of the cluster step.
 StepStatus withStateChangeReason(StepStateChangeReason stateChangeReason)
          The reason for the step execution status change.
 StepStatus withTimeline(StepTimeline timeline)
          The timeline of the cluster step status over time.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepStatus

public StepStatus()
Method Detail

getState

public String getState()
The execution state of the cluster step.

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

Returns:
The execution state of the cluster step.
See Also:
StepState

setState

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

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

Parameters:
state - The execution state of the cluster step.
See Also:
StepState

withState

public StepStatus withState(String state)
The execution state of the cluster step.

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

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

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

setState

public void setState(StepState state)
The execution state of the cluster step.

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

Parameters:
state - The execution state of the cluster step.
See Also:
StepState

withState

public StepStatus withState(StepState state)
The execution state of the cluster step.

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

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

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

getStateChangeReason

public StepStateChangeReason getStateChangeReason()
The reason for the step execution status change.

Returns:
The reason for the step execution status change.

setStateChangeReason

public void setStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.

Parameters:
stateChangeReason - The reason for the step execution status change.

withStateChangeReason

public StepStatus withStateChangeReason(StepStateChangeReason stateChangeReason)
The reason for the step execution status change.

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

Parameters:
stateChangeReason - The reason for the step execution status change.
Returns:
A reference to this updated object so that method calls can be chained together.

getTimeline

public StepTimeline getTimeline()
The timeline of the cluster step status over time.

Returns:
The timeline of the cluster step status over time.

setTimeline

public void setTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.

Parameters:
timeline - The timeline of the cluster step status over time.

withTimeline

public StepStatus withTimeline(StepTimeline timeline)
The timeline of the cluster step status over time.

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

Parameters:
timeline - The timeline of the cluster step status over time.
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 © 2016. All rights reserved.