Class StepConfig
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.StepConfig
- All Implemented Interfaces:
Serializable
,Cloneable
Specification of a job flow step.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for StepConfig object.StepConfig
(String name, HadoopJarStepConfig hadoopJarStep) Constructs a new StepConfig object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The action to take if the job flow step fails.The JAR file used for the job flow step.getName()
The name of the job flow step.int
hashCode()
void
setActionOnFailure
(ActionOnFailure actionOnFailure) The action to take if the job flow step fails.void
setActionOnFailure
(String actionOnFailure) The action to take if the job flow step fails.void
setHadoopJarStep
(HadoopJarStepConfig hadoopJarStep) The JAR file used for the job flow step.void
The name of the job flow step.toString()
Returns a string representation of this object; useful for testing and debugging.withActionOnFailure
(ActionOnFailure actionOnFailure) The action to take if the job flow step fails.withActionOnFailure
(String actionOnFailure) The action to take if the job flow step fails.withHadoopJarStep
(HadoopJarStepConfig hadoopJarStep) The JAR file used for the job flow step.The name of the job flow step.
-
Constructor Details
-
StepConfig
public StepConfig()Default constructor for StepConfig object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
StepConfig
Constructs a new StepConfig object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
name
- The name of the job flow step.hadoopJarStep
- The JAR file used for the job flow step.
-
-
Method Details
-
setName
The name of the job flow step.
- Parameters:
name
- The name of the job flow step.
-
getName
The name of the job flow step.
- Returns:
- The name of the job flow step.
-
withName
The name of the job flow step.
- Parameters:
name
- The name of the job flow step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setActionOnFailure
The action to take if the job flow step fails.
- Parameters:
actionOnFailure
- The action to take if the job flow step fails.- See Also:
-
getActionOnFailure
The action to take if the job flow step fails.
- Returns:
- The action to take if the job flow step fails.
- See Also:
-
withActionOnFailure
The action to take if the job flow step fails.
- Parameters:
actionOnFailure
- The action to take if the job flow step fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setActionOnFailure
The action to take if the job flow step fails.
- Parameters:
actionOnFailure
- The action to take if the job flow step fails.- See Also:
-
withActionOnFailure
The action to take if the job flow step fails.
- Parameters:
actionOnFailure
- The action to take if the job flow step fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setHadoopJarStep
The JAR file used for the job flow step.
- Parameters:
hadoopJarStep
- The JAR file used for the job flow step.
-
getHadoopJarStep
The JAR file used for the job flow step.
- Returns:
- The JAR file used for the job flow step.
-
withHadoopJarStep
The JAR file used for the job flow step.
- Parameters:
hadoopJarStep
- The JAR file used for the job flow step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-