|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.HadoopJarStepConfig
public class HadoopJarStepConfig
A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
Constructor Summary | |
---|---|
HadoopJarStepConfig()
|
Method Summary | |
---|---|
List<String> |
getArgs()
A list of command line arguments passed to the JAR file's main function when executed. |
String |
getJar()
A path to a JAR file run during the step. |
String |
getMainClass()
The name of the main class in the specified Java file. |
List<KeyValue> |
getProperties()
A list of Java properties that are set when the step runs. |
void |
setArgs(Collection<String> args)
A list of command line arguments passed to the JAR file's main function when executed. |
void |
setJar(String jar)
A path to a JAR file run during the step. |
void |
setMainClass(String mainClass)
The name of the main class in the specified Java file. |
void |
setProperties(Collection<KeyValue> properties)
A list of Java properties that are set when the step runs. |
String |
toString()
|
HadoopJarStepConfig |
withArgs(Collection<String> args)
A list of command line arguments passed to the JAR file's main function when executed. |
HadoopJarStepConfig |
withArgs(String... args)
A list of command line arguments passed to the JAR file's main function when executed. |
HadoopJarStepConfig |
withJar(String jar)
A path to a JAR file run during the step. |
HadoopJarStepConfig |
withMainClass(String mainClass)
The name of the main class in the specified Java file. |
HadoopJarStepConfig |
withProperties(Collection<KeyValue> properties)
A list of Java properties that are set when the step runs. |
HadoopJarStepConfig |
withProperties(KeyValue... properties)
A list of Java properties that are set when the step runs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HadoopJarStepConfig()
Method Detail |
---|
public List<KeyValue> getProperties()
public void setProperties(Collection<KeyValue> properties)
properties
- A list of Java properties that are set when the step runs. You can use
these properties to pass key-value pairs to your main function.public HadoopJarStepConfig withProperties(KeyValue... properties)
Returns a reference to this object so that method calls can be chained together.
properties
- A list of Java properties that are set when the step runs. You can use
these properties to pass key-value pairs to your main function.
public HadoopJarStepConfig withProperties(Collection<KeyValue> properties)
Returns a reference to this object so that method calls can be chained together.
properties
- A list of Java properties that are set when the step runs. You can use
these properties to pass key-value pairs to your main function.
public String getJar()
public void setJar(String jar)
jar
- A path to a JAR file run during the step.public HadoopJarStepConfig withJar(String jar)
Returns a reference to this object so that method calls can be chained together.
jar
- A path to a JAR file run during the step.
public String getMainClass()
public void setMainClass(String mainClass)
mainClass
- The name of the main class in the specified Java file. If not
specified, the JAR file should specify a Main-Class in its manifest
file.public HadoopJarStepConfig withMainClass(String mainClass)
Returns a reference to this object so that method calls can be chained together.
mainClass
- The name of the main class in the specified Java file. If not
specified, the JAR file should specify a Main-Class in its manifest
file.
public List<String> getArgs()
public void setArgs(Collection<String> args)
args
- A list of command line arguments passed to the JAR file's main
function when executed.public HadoopJarStepConfig withArgs(String... args)
Returns a reference to this object so that method calls can be chained together.
args
- A list of command line arguments passed to the JAR file's main
function when executed.
public HadoopJarStepConfig withArgs(Collection<String> args)
Returns a reference to this object so that method calls can be chained together.
args
- A list of command line arguments passed to the JAR file's main
function when executed.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |