public static interface CreateNotebookInstanceLifecycleConfigRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateNotebookInstanceLifecycleConfigRequest.Builder,CreateNotebookInstanceLifecycleConfigRequest>
Modifier and Type | Method and Description |
---|---|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
notebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
onCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
onCreate(Consumer<NotebookInstanceLifecycleHook.Builder>... onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
onCreate(NotebookInstanceLifecycleHook... onCreate)
A shell script that runs only once, when you create a notebook instance.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
onStart(Collection<NotebookInstanceLifecycleHook> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
onStart(Consumer<NotebookInstanceLifecycleHook.Builder>... onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
onStart(NotebookInstanceLifecycleHook... onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook
instance.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateNotebookInstanceLifecycleConfigRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateNotebookInstanceLifecycleConfigRequest.Builder notebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.
notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration.CreateNotebookInstanceLifecycleConfigRequest.Builder onCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
onCreate
- A shell script that runs only once, when you create a notebook instance. The shell script must be a
base64-encoded string.CreateNotebookInstanceLifecycleConfigRequest.Builder onCreate(NotebookInstanceLifecycleHook... onCreate)
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
onCreate
- A shell script that runs only once, when you create a notebook instance. The shell script must be a
base64-encoded string.CreateNotebookInstanceLifecycleConfigRequest.Builder onCreate(Consumer<NotebookInstanceLifecycleHook.Builder>... onCreate)
A shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #onCreate(List)
.onCreate
- a consumer that will call methods on List.Builder
#onCreate(List)
CreateNotebookInstanceLifecycleConfigRequest.Builder onStart(Collection<NotebookInstanceLifecycleHook> onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the
notebook instance. The shell script must be a base64-encoded string.CreateNotebookInstanceLifecycleConfigRequest.Builder onStart(NotebookInstanceLifecycleHook... onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
onStart
- A shell script that runs every time you start a notebook instance, including when you create the
notebook instance. The shell script must be a base64-encoded string.CreateNotebookInstanceLifecycleConfigRequest.Builder onStart(Consumer<NotebookInstanceLifecycleHook.Builder>... onStart)
A shell script that runs every time you start a notebook instance, including when you create the notebook instance. The shell script must be a base64-encoded string.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #onStart(List)
.onStart
- a consumer that will call methods on List.Builder
#onStart(List)
CreateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.