CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
, SdkBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
public static interface HadoopJarStepConfig.Builder extends CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
Modifier and Type | Method | Description |
---|---|---|
HadoopJarStepConfig.Builder |
args(String... args) |
A list of command line arguments passed to the JAR file's main function when executed.
|
HadoopJarStepConfig.Builder |
args(Collection<String> args) |
A list of command line arguments passed to the JAR file's main function when executed.
|
HadoopJarStepConfig.Builder |
jar(String jar) |
A path to a JAR file run during the step.
|
HadoopJarStepConfig.Builder |
mainClass(String mainClass) |
The name of the main class in the specified Java file.
|
HadoopJarStepConfig.Builder |
properties(Collection<KeyValue> properties) |
A list of Java properties that are set when the step runs.
|
HadoopJarStepConfig.Builder |
properties(KeyValue... properties) |
A list of Java properties that are set when the step runs.
|
copy
apply, build
HadoopJarStepConfig.Builder properties(Collection<KeyValue> 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.
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.HadoopJarStepConfig.Builder properties(KeyValue... 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.
NOTE: This method appends the values to the existing list (if any). Use
#setProperties(java.util.Collection)
or #withProperties(java.util.Collection)
if you want to
override the existing values.
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.HadoopJarStepConfig.Builder jar(String jar)
A path to a JAR file run during the step.
jar
- A path to a JAR file run during the step.HadoopJarStepConfig.Builder mainClass(String 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.
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.HadoopJarStepConfig.Builder args(Collection<String> args)
A list of command line arguments passed to the JAR file's main function when executed.
args
- A list of command line arguments passed to the JAR file's main function when executed.HadoopJarStepConfig.Builder args(String... args)
A list of command line arguments passed to the JAR file's main function when executed.
NOTE: This method appends the values to the existing list (if any). Use
#setArgs(java.util.Collection)
or #withArgs(java.util.Collection)
if you want to override the
existing values.
args
- A list of command line arguments passed to the JAR file's main function when executed.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.