Class NotebookInstanceReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.sagemaker.NotebookInstanceReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<NotebookInstanceReference>
- Enclosing interface:
NotebookInstanceReference
@Stability(Stable)
public static final class NotebookInstanceReference.Builder
extends Object
implements software.amazon.jsii.Builder<NotebookInstanceReference>
A builder for
NotebookInstanceReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.notebookInstanceId(String notebookInstanceId) Sets the value ofNotebookInstanceReference.getNotebookInstanceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
notebookInstanceId
@Stability(Stable) public NotebookInstanceReference.Builder notebookInstanceId(String notebookInstanceId) Sets the value ofNotebookInstanceReference.getNotebookInstanceId()- Parameters:
notebookInstanceId- The Id of the NotebookInstance resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<NotebookInstanceReference>- Returns:
- a new instance of
NotebookInstanceReference - Throws:
NullPointerException- if any required attribute was not provided
-