public static interface HadoopJarStepConfig.Builder extends SdkPojo, CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
Modifier and Type | Method and Description |
---|---|
HadoopJarStepConfig.Builder |
args(Collection<String> 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.
|
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(Consumer<KeyValue.Builder>... 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
applyMutation, 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.
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(Consumer<KeyValue.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #properties(List)
.properties
- a consumer that will call methods on List.Builder
#properties(List)
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.
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.