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