Class CfnDomain.SharingSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.SharingSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.SharingSettingsProperty>
- Enclosing interface:
CfnDomain.SharingSettingsProperty
@Stability(Stable)
public static final class CfnDomain.SharingSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.SharingSettingsProperty>
A builder for
CfnDomain.SharingSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.notebookOutputOption
(String notebookOutputOption) Sets the value ofCfnDomain.SharingSettingsProperty.getNotebookOutputOption()
s3KmsKeyId
(String s3KmsKeyId) Sets the value ofCfnDomain.SharingSettingsProperty.getS3KmsKeyId()
s3OutputPath
(String s3OutputPath) Sets the value ofCfnDomain.SharingSettingsProperty.getS3OutputPath()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notebookOutputOption
@Stability(Stable) public CfnDomain.SharingSettingsProperty.Builder notebookOutputOption(String notebookOutputOption) Sets the value ofCfnDomain.SharingSettingsProperty.getNotebookOutputOption()
- Parameters:
notebookOutputOption
- Whether to include the notebook cell output when sharing the notebook. The default isDisabled
.- Returns:
this
-
s3KmsKeyId
Sets the value ofCfnDomain.SharingSettingsProperty.getS3KmsKeyId()
- Parameters:
s3KmsKeyId
- WhenNotebookOutputOption
isAllowed
, the AWS Key Management Service (KMS) encryption key ID used to encrypt the notebook cell output in the Amazon S3 bucket.- Returns:
this
-
s3OutputPath
@Stability(Stable) public CfnDomain.SharingSettingsProperty.Builder s3OutputPath(String s3OutputPath) Sets the value ofCfnDomain.SharingSettingsProperty.getS3OutputPath()
- Parameters:
s3OutputPath
- WhenNotebookOutputOption
isAllowed
, the Amazon S3 bucket used to store the shared notebook snapshots.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDomain.SharingSettingsProperty>
- Returns:
- a new instance of
CfnDomain.SharingSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-