com.amazonaws.services.elasticmapreduce.model
Class Step

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

public class Step
extends Object
implements Serializable

This represents a step in a cluster.

See Also:
Serialized Form

Constructor Summary
Step()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getActionOnFailure()
          This specifies what action to take when the cluster step fails.
 HadoopStepConfig getConfig()
          The Hadoop job configuration of the cluster step.
 String getId()
          The identifier of the cluster step.
 String getName()
          The name of the cluster step.
 StepStatus getStatus()
          The current execution status details of the cluster step.
 int hashCode()
           
 void setActionOnFailure(ActionOnFailure actionOnFailure)
          This specifies what action to take when the cluster step fails.
 void setActionOnFailure(String actionOnFailure)
          This specifies what action to take when the cluster step fails.
 void setConfig(HadoopStepConfig config)
          The Hadoop job configuration of the cluster step.
 void setId(String id)
          The identifier of the cluster step.
 void setName(String name)
          The name of the cluster step.
 void setStatus(StepStatus status)
          The current execution status details of the cluster step.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Step withActionOnFailure(ActionOnFailure actionOnFailure)
          This specifies what action to take when the cluster step fails.
 Step withActionOnFailure(String actionOnFailure)
          This specifies what action to take when the cluster step fails.
 Step withConfig(HadoopStepConfig config)
          The Hadoop job configuration of the cluster step.
 Step withId(String id)
          The identifier of the cluster step.
 Step withName(String name)
          The name of the cluster step.
 Step withStatus(StepStatus status)
          The current execution status details of the cluster step.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Step

public Step()
Method Detail

getId

public String getId()
The identifier of the cluster step.

Returns:
The identifier of the cluster step.

setId

public void setId(String id)
The identifier of the cluster step.

Parameters:
id - The identifier of the cluster step.

withId

public Step withId(String id)
The identifier of the cluster step.

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

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

getName

public String getName()
The name of the cluster step.

Returns:
The name of the cluster step.

setName

public void setName(String name)
The name of the cluster step.

Parameters:
name - The name of the cluster step.

withName

public Step withName(String name)
The name of the cluster step.

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

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

getConfig

public HadoopStepConfig getConfig()
The Hadoop job configuration of the cluster step.

Returns:
The Hadoop job configuration of the cluster step.

setConfig

public void setConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.

Parameters:
config - The Hadoop job configuration of the cluster step.

withConfig

public Step withConfig(HadoopStepConfig config)
The Hadoop job configuration of the cluster step.

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

Parameters:
config - The Hadoop job configuration of the cluster step.
Returns:
A reference to this updated object so that method calls can be chained together.

getActionOnFailure

public String getActionOnFailure()
This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.

Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE

Returns:
This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
See Also:
ActionOnFailure

setActionOnFailure

public void setActionOnFailure(String actionOnFailure)
This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.

Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE

Parameters:
actionOnFailure - This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
See Also:
ActionOnFailure

withActionOnFailure

public Step withActionOnFailure(String actionOnFailure)
This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.

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

Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE

Parameters:
actionOnFailure - This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ActionOnFailure

setActionOnFailure

public void setActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.

Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE

Parameters:
actionOnFailure - This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
See Also:
ActionOnFailure

withActionOnFailure

public Step withActionOnFailure(ActionOnFailure actionOnFailure)
This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.

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

Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE

Parameters:
actionOnFailure - This specifies what action to take when the cluster step fails. TERMINATE_JOB_FLOW is deprecated, use TERMINATE_CLUSTER instead.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ActionOnFailure

getStatus

public StepStatus getStatus()
The current execution status details of the cluster step.

Returns:
The current execution status details of the cluster step.

setStatus

public void setStatus(StepStatus status)
The current execution status details of the cluster step.

Parameters:
status - The current execution status details of the cluster step.

withStatus

public Step withStatus(StepStatus status)
The current execution status details of the cluster step.

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

Parameters:
status - The current execution status details of the cluster step.
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.