|
||||||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
String |
getActionOnFailure()
The action to take if the job flow step fails. |
HadoopJarStepConfig |
getHadoopJarStep()
The JAR file used for the job flow step. |
String |
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 |
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(ActionOnFailure actionOnFailure)
The action to take if the job flow step fails. |
StepConfig |
withActionOnFailure(String actionOnFailure)
The action to take if the job flow step fails. |
StepConfig |
withHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StepConfig()
public StepConfig(String name, HadoopJarStepConfig hadoopJarStep)
name
- The name of the job flow step.hadoopJarStep
- The JAR file used for the job flow step.Method Detail |
---|
public String getName()
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setName(String name)
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
name
- The name of the job flow step.
public String getActionOnFailure()
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
ActionOnFailure
public void setActionOnFailure(String actionOnFailure)
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- 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, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- The action to take if the job flow step fails.
ActionOnFailure
public void setActionOnFailure(ActionOnFailure actionOnFailure)
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- The action to take if the job flow step fails.ActionOnFailure
public StepConfig withActionOnFailure(ActionOnFailure actionOnFailure)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TERMINATE_JOB_FLOW, TERMINATE_CLUSTER, CANCEL_AND_WAIT, CONTINUE
actionOnFailure
- The action to take if the job flow step fails.
ActionOnFailure
public HadoopJarStepConfig getHadoopJarStep()
public void setHadoopJarStep(HadoopJarStepConfig hadoopJarStep)
hadoopJarStep
- 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
- The JAR file used for the job flow step.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |