Class EmrCreateCluster.ScriptBootstrapActionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.ScriptBootstrapActionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmrCreateCluster.ScriptBootstrapActionConfigProperty>
- Enclosing interface:
EmrCreateCluster.ScriptBootstrapActionConfigProperty
@Stability(Stable)
public static final class EmrCreateCluster.ScriptBootstrapActionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<EmrCreateCluster.ScriptBootstrapActionConfigProperty>
A builder for
EmrCreateCluster.ScriptBootstrapActionConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofEmrCreateCluster.ScriptBootstrapActionConfigProperty.getArgs()build()Builds the configured instance.Sets the value ofEmrCreateCluster.ScriptBootstrapActionConfigProperty.getPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
path
@Stability(Stable) public EmrCreateCluster.ScriptBootstrapActionConfigProperty.Builder path(String path) Sets the value ofEmrCreateCluster.ScriptBootstrapActionConfigProperty.getPath()- Parameters:
path- Location of the script to run during a bootstrap action. This parameter is required. Can be either a location in Amazon S3 or on a local file system.- Returns:
this
-
args
@Stability(Stable) public EmrCreateCluster.ScriptBootstrapActionConfigProperty.Builder args(List<String> args) Sets the value ofEmrCreateCluster.ScriptBootstrapActionConfigProperty.getArgs()- Parameters:
args- A list of command line arguments to pass to the bootstrap action script.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EmrCreateCluster.ScriptBootstrapActionConfigProperty>- Returns:
- a new instance of
EmrCreateCluster.ScriptBootstrapActionConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-