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