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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHadoopJarStepConfig.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 method that creates an instance of theKeyValue.Builder avoiding the need to create one manually
via KeyValue.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #properties(List.
properties - a consumer that will call methods on
KeyValue.Builder#properties(java.util.Collection) 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 © 2023. All rights reserved.