|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.StepConfig
public class StepConfig
Specification of a job flow step.
Constructor Summary | |
---|---|
StepConfig()
Default constructor for a new StepConfig object. |
|
StepConfig(String name,
HadoopJarStepConfig hadoopJarStep)
Constructs a new StepConfig object. |
Method Summary | |
---|---|
String |
getActionOnFailure()
Specifies the action to take if the job flow step fails. |
HadoopJarStepConfig |
getHadoopJarStep()
Specifies the JAR file used for the job flow step. |
String |
getName()
The name of the job flow step. |
void |
setActionOnFailure(String actionOnFailure)
Specifies the action to take if the job flow step fails. |
void |
setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Specifies the JAR file used for the job flow step. |
void |
setName(String name)
The name of the job flow step. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
StepConfig |
withActionOnFailure(String actionOnFailure)
Specifies the action to take if the job flow step fails. |
StepConfig |
withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Specifies the JAR file used for the job flow step. |
StepConfig |
withName(String name)
The name of the job flow step. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StepConfig()
public StepConfig(String name, HadoopJarStepConfig hadoopJarStep)
name
- The name of the job flow step.hadoopJarStep
- Specifies the JAR file used for the job flow
step.Method Detail |
---|
public String getName()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setName(String name)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
name
- The name of the job flow step.public StepConfig withName(String name)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
name
- The name of the job flow step.
public String getActionOnFailure()
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, CANCEL_AND_WAIT, CONTINUE
ActionOnFailure
public void setActionOnFailure(String actionOnFailure)
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- Specifies the action to take if the job flow step fails.ActionOnFailure
public StepConfig withActionOnFailure(String actionOnFailure)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- Specifies the action to take if the job flow step fails.
ActionOnFailure
public HadoopJarStepConfig getHadoopJarStep()
public void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
hadoopJarStep
- Specifies the JAR file used for the job flow step.public StepConfig withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
Returns a reference to this object so that method calls can be chained together.
hadoopJarStep
- Specifies the JAR file used for the job flow step.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |