Interface HadoopJarStepConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HadoopJarStepConfig.Builder,,HadoopJarStepConfig> SdkBuilder<HadoopJarStepConfig.Builder,,HadoopJarStepConfig> SdkPojo
- Enclosing class:
HadoopJarStepConfig
-
Method Summary
Modifier and TypeMethodDescriptionA list of command line arguments passed to the JAR file's main function when executed.args(Collection<String> args) A list of command line arguments passed to the JAR file's main function when executed.A path to a JAR file run during the step.The name of the main class in the specified Java file.properties(Collection<KeyValue> properties) A list of Java properties that are set when the step runs.properties(Consumer<KeyValue.Builder>... properties) A list of Java properties that are set when the step runs.properties(KeyValue... properties) A list of Java properties that are set when the step runs.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- 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.
- Parameters:
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.- Returns:
- 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.
This is a convenience method that creates an instance of theKeyValue.Builderavoiding the need to create one manually viaKeyValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toproperties(List<KeyValue>).- Parameters:
properties- a consumer that will call methods onKeyValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jar
A path to a JAR file run during the step.
- Parameters:
jar- A path to a JAR file run during the step.- Returns:
- 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.
- Parameters:
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.- Returns:
- 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.
- Parameters:
args- A list of command line arguments passed to the JAR file's main function when executed.- Returns:
- 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.
- Parameters:
args- A list of command line arguments passed to the JAR file's main function when executed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-