Class CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emr.CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty>
- Enclosing interface:
CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty
@Stability(Stable)
public static final class CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.getId()Sets the value ofCfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
@Stability(Stable) public CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.Builder id(String id) Sets the value ofCfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.getId()- Parameters:
id- The unique identifier of the execution engine. For an Amazon EMR cluster, this is the cluster ID.- Returns:
this
-
type
@Stability(Stable) public CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.Builder type(String type) Sets the value ofCfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty.getType()- Parameters:
type- The type of execution engine.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty>- Returns:
- a new instance of
CfnNotebookExecutionPropsMixin.ExecutionEngineConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-