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