Class EmrCreateCluster.BootstrapActionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.EmrCreateCluster.BootstrapActionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EmrCreateCluster.BootstrapActionConfigProperty>
- Enclosing interface:
- EmrCreateCluster.BootstrapActionConfigProperty
@Stability(Stable)
public static final class EmrCreateCluster.BootstrapActionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<EmrCreateCluster.BootstrapActionConfigProperty>
A builder for
EmrCreateCluster.BootstrapActionConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofEmrCreateCluster.BootstrapActionConfigProperty.getName()
scriptBootstrapAction
(EmrCreateCluster.ScriptBootstrapActionConfigProperty scriptBootstrapAction)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofEmrCreateCluster.BootstrapActionConfigProperty.getName()
- Parameters:
name
- The name of the bootstrap action. This parameter is required.- Returns:
this
-
scriptBootstrapAction
@Stability(Stable) public EmrCreateCluster.BootstrapActionConfigProperty.Builder scriptBootstrapAction(EmrCreateCluster.ScriptBootstrapActionConfigProperty scriptBootstrapAction) - Parameters:
scriptBootstrapAction
- The script run by the bootstrap action. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<EmrCreateCluster.BootstrapActionConfigProperty>
- Returns:
- a new instance of
EmrCreateCluster.BootstrapActionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-