com.amazonaws.services.elasticmapreduce.model
Class StepConfig

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

public class StepConfig
extends Object

Step Config


Constructor Summary
StepConfig()
           
 
Method Summary
 String getActionOnFailure()
          Returns the value of the ActionOnFailure property for this object.
 HadoopJarStepConfig getHadoopJarStep()
          Returns the value of the HadoopJarStep property for this object.
 String getName()
          Returns the value of the Name property for this object.
 void setActionOnFailure(String actionOnFailure)
          Sets the value of the ActionOnFailure property for this object.
 void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
          Sets the value of the HadoopJarStep property for this object.
 void setName(String name)
          Sets the value of the Name property for this object.
 StepConfig withActionOnFailure(String actionOnFailure)
          Sets the value of the ActionOnFailure property for this object.
 StepConfig withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
          Sets the value of the HadoopJarStep property for this object.
 StepConfig withName(String name)
          Sets the value of the Name property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepConfig

public StepConfig()
Method Detail

getName

public String getName()
Returns the value of the Name property for this object.

Constraints:
Length: 1 - 256

Returns:
The value of the Name property for this object.

setName

public void setName(String name)
Sets the value of the Name property for this object.

Constraints:
Length: 1 - 256

Parameters:
name - The new value for the Name property for this object.

withName

public StepConfig withName(String name)
Sets the value of the Name property for this object.

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

Constraints:
Length: 1 - 256

Parameters:
name - The new value for the Name property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getActionOnFailure

public String getActionOnFailure()
Returns the value of the ActionOnFailure property for this object.

Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE

Returns:
The value of the ActionOnFailure property for this object.

setActionOnFailure

public void setActionOnFailure(String actionOnFailure)
Sets the value of the ActionOnFailure property for this object.

Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE

Parameters:
actionOnFailure - The new value for the ActionOnFailure property for this object.

withActionOnFailure

public StepConfig withActionOnFailure(String actionOnFailure)
Sets the value of the ActionOnFailure property for this object.

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 - The new value for the ActionOnFailure property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getHadoopJarStep

public HadoopJarStepConfig getHadoopJarStep()
Returns the value of the HadoopJarStep property for this object.

Returns:
The value of the HadoopJarStep property for this object.

setHadoopJarStep

public void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Sets the value of the HadoopJarStep property for this object.

Parameters:
hadoopJarStep - The new value for the HadoopJarStep property for this object.

withHadoopJarStep

public StepConfig withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Sets the value of the HadoopJarStep property for this object.

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

Parameters:
hadoopJarStep - The new value for the HadoopJarStep property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.