|
|||||||
| 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()
|
|
| 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()
| Method Detail |
|---|
public String getName()
Constraints:
Length: 1 - 256
public void setName(String name)
Constraints:
Length: 1 - 256
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: 1 - 256
name - The name of the job flow step.
public String getActionOnFailure()
Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE
public void setActionOnFailure(String actionOnFailure)
Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE
actionOnFailure - Specifies the action to take if the job flow step fails.public StepConfig withActionOnFailure(String actionOnFailure)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: TERMINATE_JOB_FLOW|CANCEL_AND_WAIT|CONTINUE
actionOnFailure - Specifies the action to take if the job flow step fails.
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 ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||