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