Class CfnNotebookExecution.NotebookS3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.emr.CfnNotebookExecution.NotebookS3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookExecution.NotebookS3LocationProperty>
- Enclosing interface:
CfnNotebookExecution.NotebookS3LocationProperty
@Stability(Stable)
public static final class CfnNotebookExecution.NotebookS3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookExecution.NotebookS3LocationProperty>
A builder for
CfnNotebookExecution.NotebookS3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnNotebookExecution.NotebookS3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnNotebookExecution.NotebookS3LocationProperty.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnNotebookExecution.NotebookS3LocationProperty.Builder bucket(String bucket) Sets the value ofCfnNotebookExecution.NotebookS3LocationProperty.getBucket()- Parameters:
bucket- The Amazon S3 bucket that stores the notebook execution input.- Returns:
this
-
key
Sets the value ofCfnNotebookExecution.NotebookS3LocationProperty.getKey()- Parameters:
key- The key to the Amazon S3 location that stores the notebook execution input.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotebookExecution.NotebookS3LocationProperty>- Returns:
- a new instance of
CfnNotebookExecution.NotebookS3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-