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