Class CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStepPropsMixin.HadoopJarStepConfigProperty>
- Enclosing interface:
CfnStepPropsMixin.HadoopJarStepConfigProperty
@Stability(Stable)
public static final class CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStepPropsMixin.HadoopJarStepConfigProperty>
A builder for
CfnStepPropsMixin.HadoopJarStepConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getArgs()build()Builds the configured instance.Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getJar()Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getMainClass()stepProperties(List<? extends Object> stepProperties) Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getStepProperties()stepProperties(IResolvable stepProperties) Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getStepProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
args
@Stability(Stable) public CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder args(List<String> args) Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getArgs()- Parameters:
args- A list of command line arguments passed to the JAR file's main function when executed.- Returns:
this
-
jar
Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getJar()- Parameters:
jar- A path to a JAR file run during the step.- Returns:
this
-
mainClass
@Stability(Stable) public CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder mainClass(String mainClass) Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getMainClass()- 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:
this
-
stepProperties
@Stability(Stable) public CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder stepProperties(IResolvable stepProperties) Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getStepProperties()- Parameters:
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.- Returns:
this
-
stepProperties
@Stability(Stable) public CfnStepPropsMixin.HadoopJarStepConfigProperty.Builder stepProperties(List<? extends Object> stepProperties) Sets the value ofCfnStepPropsMixin.HadoopJarStepConfigProperty.getStepProperties()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStepPropsMixin.HadoopJarStepConfigProperty>- Returns:
- a new instance of
CfnStepPropsMixin.HadoopJarStepConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-