com.amazonaws.services.elasticmapreduce.model
Class StepConfig

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

public class StepConfig
extends Object


Constructor Summary
StepConfig()
           
 
Method Summary
 String getActionOnFailure()
          Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.
 HadoopJarStepConfig getHadoopJarStep()
          Specifies a Hadoop step.
 String getName()
          The name of the step.
 void setActionOnFailure(String actionOnFailure)
          Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.
 void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
          Specifies a Hadoop step.
 void setName(String name)
          The name of the step.
 String toString()
           
 StepConfig withActionOnFailure(String actionOnFailure)
          Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.
 StepConfig withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
          Specifies a Hadoop step.
 StepConfig withName(String name)
          The name of the step.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepConfig

public StepConfig()
Method Detail

getName

public String getName()
The name of the step.

Constraints:
Length: 1 - 256

Returns:
The name of the step.

setName

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

Constraints:
Length: 1 - 256

Parameters:
name - The name of the step.

withName

public StepConfig withName(String name)
The name of the step.

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

Constraints:
Length: 1 - 256

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

getActionOnFailure

public String getActionOnFailure()
Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.

Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE

Returns:
Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.

setActionOnFailure

public void setActionOnFailure(String actionOnFailure)
Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.

Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE

Parameters:
actionOnFailure - Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.

withActionOnFailure

public StepConfig withActionOnFailure(String actionOnFailure)
Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.

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

Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE

Parameters:
actionOnFailure - Specifies what happens to the Amazon EC2 cluster when the job flow results in an error.
Returns:
A reference to this updated object so that method calls can be chained together.

getHadoopJarStep

public HadoopJarStepConfig getHadoopJarStep()
Specifies a Hadoop step.

Returns:
Specifies a Hadoop step.

setHadoopJarStep

public void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Specifies a Hadoop step.

Parameters:
hadoopJarStep - Specifies a Hadoop step.

withHadoopJarStep

public StepConfig withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Specifies a Hadoop step.

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

Parameters:
hadoopJarStep - Specifies a Hadoop step.
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.