Interface HadoopJarStepConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>,SdkBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>,SdkPojo
- Enclosing class:
- HadoopJarStepConfig
public static interface HadoopJarStepConfig.Builder extends SdkPojo, CopyableBuilder<HadoopJarStepConfig.Builder,HadoopJarStepConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HadoopJarStepConfig.Builderargs(String... args)A list of command line arguments passed to the JAR file's main function when executed.HadoopJarStepConfig.Builderargs(Collection<String> args)A list of command line arguments passed to the JAR file's main function when executed.HadoopJarStepConfig.Builderjar(String jar)A path to a JAR file run during the step.HadoopJarStepConfig.BuildermainClass(String mainClass)The name of the main class in the specified Java file.HadoopJarStepConfig.Builderproperties(Collection<KeyValue> properties)A list of Java properties that are set when the step runs.HadoopJarStepConfig.Builderproperties(Consumer<KeyValue.Builder>... properties)A list of Java properties that are set when the step runs.HadoopJarStepConfig.Builderproperties(KeyValue... properties)A list of Java properties that are set when the step runs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
properties
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaKeyValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#properties(List.) - 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:
#properties(java.util.Collection)
-
jar
HadoopJarStepConfig.Builder jar(String 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
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.
- 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
HadoopJarStepConfig.Builder args(Collection<String> 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
HadoopJarStepConfig.Builder args(String... 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.
-
-