Class CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty>
- Enclosing interface:
CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty
@Stability(Stable)
public static final class CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
content
@Stability(Stable) public CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty.Builder content(String content) Sets the value ofCfnNotebookInstanceLifecycleConfig.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 CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty>
- Returns:
- a new instance of
CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-