@Stability(value=Stable) public static final class CfnCluster.HadoopJarStepConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.HadoopJarStepConfigProperty>
CfnCluster.HadoopJarStepConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.HadoopJarStepConfigProperty.Builder |
args(List<String> args)
Sets the value of
CfnCluster.HadoopJarStepConfigProperty.getArgs() |
CfnCluster.HadoopJarStepConfigProperty |
build()
Builds the configured instance.
|
CfnCluster.HadoopJarStepConfigProperty.Builder |
jar(String jar)
Sets the value of
CfnCluster.HadoopJarStepConfigProperty.getJar() |
CfnCluster.HadoopJarStepConfigProperty.Builder |
mainClass(String mainClass)
Sets the value of
CfnCluster.HadoopJarStepConfigProperty.getMainClass() |
CfnCluster.HadoopJarStepConfigProperty.Builder |
stepProperties(IResolvable stepProperties)
Sets the value of
CfnCluster.HadoopJarStepConfigProperty.getStepProperties() |
CfnCluster.HadoopJarStepConfigProperty.Builder |
stepProperties(List<? extends Object> stepProperties)
Sets the value of
CfnCluster.HadoopJarStepConfigProperty.getStepProperties() |
@Stability(value=Stable) public CfnCluster.HadoopJarStepConfigProperty.Builder jar(String jar)
CfnCluster.HadoopJarStepConfigProperty.getJar()
jar
- A path to a JAR file run during the step. This parameter is required.this
@Stability(value=Stable) public CfnCluster.HadoopJarStepConfigProperty.Builder args(List<String> args)
CfnCluster.HadoopJarStepConfigProperty.getArgs()
args
- A list of command line arguments passed to the JAR file's main function when executed.this
@Stability(value=Stable) public CfnCluster.HadoopJarStepConfigProperty.Builder mainClass(String mainClass)
CfnCluster.HadoopJarStepConfigProperty.getMainClass()
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.this
@Stability(value=Stable) public CfnCluster.HadoopJarStepConfigProperty.Builder stepProperties(IResolvable stepProperties)
CfnCluster.HadoopJarStepConfigProperty.getStepProperties()
stepProperties
- 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
@Stability(value=Stable) public CfnCluster.HadoopJarStepConfigProperty.Builder stepProperties(List<? extends Object> stepProperties)
CfnCluster.HadoopJarStepConfigProperty.getStepProperties()
stepProperties
- 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
@Stability(value=Stable) public CfnCluster.HadoopJarStepConfigProperty build()
build
in interface software.amazon.jsii.Builder<CfnCluster.HadoopJarStepConfigProperty>
CfnCluster.HadoopJarStepConfigProperty
NullPointerException
- if any required attribute was not providedCopyright © 2023. All rights reserved.