Class CfnNotebookExecutionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnNotebookExecutionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookExecutionMixinProps>
- Enclosing interface:
CfnNotebookExecutionMixinProps
@Stability(Stable)
public static final class CfnNotebookExecutionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookExecutionMixinProps>
A builder for
CfnNotebookExecutionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnNotebookExecutionMixinProps.getEnvironmentVariables()environmentVariables(IResolvable environmentVariables) Sets the value ofCfnNotebookExecutionMixinProps.getEnvironmentVariables()Sets the value ofCfnNotebookExecutionMixinProps.getExecutionEngine()executionEngine(IResolvable executionEngine) Sets the value ofCfnNotebookExecutionMixinProps.getExecutionEngine()notebookExecutionName(String notebookExecutionName) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookExecutionName()notebookParams(String notebookParams) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookParams()notebookS3Location(CfnNotebookExecutionPropsMixin.NotebookS3LocationProperty notebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookS3Location()notebookS3Location(IResolvable notebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookS3Location()outputNotebookFormat(String outputNotebookFormat) Sets the value ofCfnNotebookExecutionMixinProps.getOutputNotebookFormat()outputNotebookS3Location(CfnNotebookExecutionPropsMixin.OutputNotebookS3LocationProperty outputNotebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getOutputNotebookS3Location()outputNotebookS3Location(IResolvable outputNotebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getOutputNotebookS3Location()Sets the value ofCfnNotebookExecutionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
environmentVariables
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder environmentVariables(IResolvable environmentVariables) Sets the value ofCfnNotebookExecutionMixinProps.getEnvironmentVariables()- Parameters:
environmentVariables- The environment variables associated with the notebook execution. Keys must be prefixed with KERNEL_ (except LOG_CONTEXT).- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnNotebookExecutionMixinProps.getEnvironmentVariables()- Parameters:
environmentVariables- The environment variables associated with the notebook execution. Keys must be prefixed with KERNEL_ (except LOG_CONTEXT).- Returns:
this
-
executionEngine
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder executionEngine(IResolvable executionEngine) Sets the value ofCfnNotebookExecutionMixinProps.getExecutionEngine()- Parameters:
executionEngine- Specifies the execution engine (cluster) to run the notebook and perform the notebook execution.- Returns:
this
-
executionEngine
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder executionEngine(CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty executionEngine) Sets the value ofCfnNotebookExecutionMixinProps.getExecutionEngine()- Parameters:
executionEngine- Specifies the execution engine (cluster) to run the notebook and perform the notebook execution.- Returns:
this
-
notebookExecutionName
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder notebookExecutionName(String notebookExecutionName) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookExecutionName()- Parameters:
notebookExecutionName- An optional name for the notebook execution.- Returns:
this
-
notebookParams
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder notebookParams(String notebookParams) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookParams()- Parameters:
notebookParams- Input parameters in JSON format passed to the Amazon EMR Notebook at runtime for execution.- Returns:
this
-
notebookS3Location
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder notebookS3Location(IResolvable notebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookS3Location()- Parameters:
notebookS3Location- The Amazon S3 location that stores the notebook execution input.- Returns:
this
-
notebookS3Location
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder notebookS3Location(CfnNotebookExecutionPropsMixin.NotebookS3LocationProperty notebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getNotebookS3Location()- Parameters:
notebookS3Location- The Amazon S3 location that stores the notebook execution input.- Returns:
this
-
outputNotebookFormat
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder outputNotebookFormat(String outputNotebookFormat) Sets the value ofCfnNotebookExecutionMixinProps.getOutputNotebookFormat()- Parameters:
outputNotebookFormat- The output format for the notebook execution.- Returns:
this
-
outputNotebookS3Location
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder outputNotebookS3Location(IResolvable outputNotebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getOutputNotebookS3Location()- Parameters:
outputNotebookS3Location- The Amazon S3 location for the notebook execution output.- Returns:
this
-
outputNotebookS3Location
@Stability(Stable) public CfnNotebookExecutionMixinProps.Builder outputNotebookS3Location(CfnNotebookExecutionPropsMixin.OutputNotebookS3LocationProperty outputNotebookS3Location) Sets the value ofCfnNotebookExecutionMixinProps.getOutputNotebookS3Location()- Parameters:
outputNotebookS3Location- The Amazon S3 location for the notebook execution output.- Returns:
this
-
tags
Sets the value ofCfnNotebookExecutionMixinProps.getTags()- Parameters:
tags- A list of tags associated with a notebook execution.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotebookExecutionMixinProps>- Returns:
- a new instance of
CfnNotebookExecutionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-