|
Did this page help you?Yes No Tell us about it... |
||||||
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()
Default constructor for a new HadoopJarStepConfig object. |
|
HadoopJarStepConfig(java.lang.String jar)
Constructs a new HadoopJarStepConfig object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.List<java.lang.String> |
getArgs()
A list of command line arguments passed to the JAR file's main function when executed. |
java.lang.String |
getJar()
A path to a JAR file run during the step. |
java.lang.String |
getMainClass()
The name of the main class in the specified Java file. |
java.util.List<KeyValue> |
getProperties()
A list of Java properties that are set when the step runs. |
int |
hashCode()
|
void |
setArgs(java.util.Collection<java.lang.String> args)
A list of command line arguments passed to the JAR file's main function when executed. |
void |
setJar(java.lang.String jar)
A path to a JAR file run during the step. |
void |
setMainClass(java.lang.String mainClass)
The name of the main class in the specified Java file. |
void |
setProperties(java.util.Collection<KeyValue> properties)
A list of Java properties that are set when the step runs. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
HadoopJarStepConfig |
withArgs(java.util.Collection<java.lang.String> args)
A list of command line arguments passed to the JAR file's main function when executed. |
HadoopJarStepConfig |
withArgs(java.lang.String... args)
A list of command line arguments passed to the JAR file's main function when executed. |
HadoopJarStepConfig |
withJar(java.lang.String jar)
A path to a JAR file run during the step. |
HadoopJarStepConfig |
withMainClass(java.lang.String mainClass)
The name of the main class in the specified Java file. |
HadoopJarStepConfig |
withProperties(java.util.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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HadoopJarStepConfig()
public HadoopJarStepConfig(java.lang.String jar)
jar
- A path to a JAR file run during the step.Method Detail |
---|
public java.util.List<KeyValue> getProperties()
public void setProperties(java.util.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(java.util.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 java.lang.String getJar()
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
public void setJar(java.lang.String jar)
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
jar
- A path to a JAR file run during the step.public HadoopJarStepConfig withJar(java.lang.String jar)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
jar
- A path to a JAR file run during the step.
public java.lang.String getMainClass()
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
public void setMainClass(java.lang.String mainClass)
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
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(java.lang.String mainClass)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10280
Pattern: [ -??-??-?\r\n\t]*
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 java.util.List<java.lang.String> getArgs()
public void setArgs(java.util.Collection<java.lang.String> args)
args
- A list of command line arguments passed to the JAR file's main
function when executed.public HadoopJarStepConfig withArgs(java.lang.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(java.util.Collection<java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |