@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StepConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specification of a cluster (job flow) step.
Constructor and Description |
---|
StepConfig()
Default constructor for StepConfig object.
|
StepConfig(String name,
HadoopJarStepConfig hadoopJarStep)
Constructs a new StepConfig object.
|
Modifier and Type | Method and Description |
---|---|
StepConfig |
clone() |
boolean |
equals(Object obj) |
String |
getActionOnFailure()
The action to take if the step fails.
|
HadoopJarStepConfig |
getHadoopJarStep()
The JAR file used for the step.
|
String |
getName()
The name of the step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionOnFailure(ActionOnFailure actionOnFailure)
The action to take if the step fails.
|
void |
setActionOnFailure(String actionOnFailure)
The action to take if the step fails.
|
void |
setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
The JAR file used for the step.
|
void |
setName(String name)
The name of the step.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StepConfig |
withActionOnFailure(ActionOnFailure actionOnFailure)
The action to take if the step fails.
|
StepConfig |
withActionOnFailure(String actionOnFailure)
The action to take if the step fails.
|
StepConfig |
withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
The JAR file used for the step.
|
StepConfig |
withName(String name)
The name of the step.
|
public StepConfig()
public StepConfig(String name, HadoopJarStepConfig hadoopJarStep)
name
- The name of the step.hadoopJarStep
- The JAR file used for the step.public void setName(String name)
The name of the step.
name
- The name of the step.public String getName()
The name of the step.
public StepConfig withName(String name)
The name of the step.
name
- The name of the step.public void setActionOnFailure(String actionOnFailure)
The action to take if the step fails.
actionOnFailure
- The action to take if the step fails.ActionOnFailure
public String getActionOnFailure()
The action to take if the step fails.
ActionOnFailure
public StepConfig withActionOnFailure(String actionOnFailure)
The action to take if the step fails.
actionOnFailure
- The action to take if the step fails.ActionOnFailure
public void setActionOnFailure(ActionOnFailure actionOnFailure)
The action to take if the step fails.
actionOnFailure
- The action to take if the step fails.ActionOnFailure
public StepConfig withActionOnFailure(ActionOnFailure actionOnFailure)
The action to take if the step fails.
actionOnFailure
- The action to take if the step fails.ActionOnFailure
public void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
The JAR file used for the step.
hadoopJarStep
- The JAR file used for the step.public HadoopJarStepConfig getHadoopJarStep()
The JAR file used for the step.
public StepConfig withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
The JAR file used for the step.
hadoopJarStep
- The JAR file used for the step.public String toString()
toString
in class Object
Object.toString()
public StepConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.