public static final class CfnStep.HadoopJarStepConfigProperty.Builder
extends java.lang.Object
CfnStep.HadoopJarStepConfigProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnStep.HadoopJarStepConfigProperty.Builder |
args(java.util.List<java.lang.String> args)
Sets the value of
CfnStep.HadoopJarStepConfigProperty.getArgs() |
CfnStep.HadoopJarStepConfigProperty |
build()
Builds the configured instance.
|
CfnStep.HadoopJarStepConfigProperty.Builder |
jar(java.lang.String jar)
Sets the value of
CfnStep.HadoopJarStepConfigProperty.getJar() |
CfnStep.HadoopJarStepConfigProperty.Builder |
mainClass(java.lang.String mainClass)
Sets the value of
CfnStep.HadoopJarStepConfigProperty.getMainClass() |
CfnStep.HadoopJarStepConfigProperty.Builder |
stepProperties(IResolvable stepProperties)
Sets the value of
CfnStep.HadoopJarStepConfigProperty.getStepProperties() |
CfnStep.HadoopJarStepConfigProperty.Builder |
stepProperties(java.util.List<? extends java.lang.Object> stepProperties)
Sets the value of
CfnStep.HadoopJarStepConfigProperty.getStepProperties() |
public CfnStep.HadoopJarStepConfigProperty.Builder jar(java.lang.String jar)
CfnStep.HadoopJarStepConfigProperty.getJar()
jar
- A path to a JAR file run during the step. This parameter is required.this
public CfnStep.HadoopJarStepConfigProperty.Builder args(java.util.List<java.lang.String> args)
CfnStep.HadoopJarStepConfigProperty.getArgs()
args
- A list of command line arguments passed to the JAR file's main function when executed.this
public CfnStep.HadoopJarStepConfigProperty.Builder mainClass(java.lang.String mainClass)
CfnStep.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
public CfnStep.HadoopJarStepConfigProperty.Builder stepProperties(IResolvable stepProperties)
CfnStep.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
public CfnStep.HadoopJarStepConfigProperty.Builder stepProperties(java.util.List<? extends java.lang.Object> stepProperties)
CfnStep.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
public CfnStep.HadoopJarStepConfigProperty build()
CfnStep.HadoopJarStepConfigProperty
java.lang.NullPointerException
- if any required attribute was not provided