Class CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty>
- Enclosing interface:
CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty
@Stability(Stable)
public static final class CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
@Stability(Stable) public CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty.Builder content(String content) Sets the value ofCfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty.getContent()- Parameters:
content- A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.- Returns:
this
-
build
@Stability(Stable) public CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty>- Returns:
- a new instance of
CfnNotebookInstanceLifecycleConfigPropsMixin.NotebookInstanceLifecycleHookProperty - Throws:
NullPointerException- if any required attribute was not provided
-