Interface UpdateNotebookInstanceLifecycleConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateNotebookInstanceLifecycleConfigRequest.Builder,
,UpdateNotebookInstanceLifecycleConfigRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateNotebookInstanceLifecycleConfigRequest.Builder,
,UpdateNotebookInstanceLifecycleConfigRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateNotebookInstanceLifecycleConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionnotebookInstanceLifecycleConfigName
(String notebookInstanceLifecycleConfigName) The name of the lifecycle configuration.onCreate
(Collection<NotebookInstanceLifecycleHook> onCreate) The shell script that runs only once, when you create a notebook instance.onCreate
(Consumer<NotebookInstanceLifecycleHook.Builder>... onCreate) The shell script that runs only once, when you create a notebook instance.onCreate
(NotebookInstanceLifecycleHook... onCreate) The shell script that runs only once, when you create a notebook instance.onStart
(Collection<NotebookInstanceLifecycleHook> onStart) The shell script that runs every time you start a notebook instance, including when you create the notebook instance.onStart
(Consumer<NotebookInstanceLifecycleHook.Builder>... onStart) The shell script that runs every time you start a notebook instance, including when you create the notebook instance.onStart
(NotebookInstanceLifecycleHook... onStart) The shell script that runs every time you start a notebook instance, including when you create the notebook instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
notebookInstanceLifecycleConfigName
UpdateNotebookInstanceLifecycleConfigRequest.Builder notebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName) The name of the lifecycle configuration.
- Parameters:
notebookInstanceLifecycleConfigName
- The name of the lifecycle configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onCreate
UpdateNotebookInstanceLifecycleConfigRequest.Builder onCreate(Collection<NotebookInstanceLifecycleHook> onCreate) The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- Parameters:
onCreate
- The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onCreate
UpdateNotebookInstanceLifecycleConfigRequest.Builder onCreate(NotebookInstanceLifecycleHook... onCreate) The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.
- Parameters:
onCreate
- The shell script that runs only once, when you create a notebook instance. The shell script must be a base64-encoded string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onCreate
UpdateNotebookInstanceLifecycleConfigRequest.Builder onCreate(Consumer<NotebookInstanceLifecycleHook.Builder>... onCreate) The 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 method that creates an instance of theNotebookInstanceLifecycleHook.Builder
avoiding the need to create one manually viaNotebookInstanceLifecycleHook.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonCreate(List<NotebookInstanceLifecycleHook>)
.- Parameters:
onCreate
- a consumer that will call methods onNotebookInstanceLifecycleHook.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onStart
UpdateNotebookInstanceLifecycleConfigRequest.Builder onStart(Collection<NotebookInstanceLifecycleHook> onStart) The 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.
- Parameters:
onStart
- The 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStart
UpdateNotebookInstanceLifecycleConfigRequest.Builder onStart(NotebookInstanceLifecycleHook... onStart) The 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.
- Parameters:
onStart
- The 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStart
UpdateNotebookInstanceLifecycleConfigRequest.Builder onStart(Consumer<NotebookInstanceLifecycleHook.Builder>... onStart) The 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 method that creates an instance of theNotebookInstanceLifecycleHook.Builder
avoiding the need to create one manually viaNotebookInstanceLifecycleHook.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonStart(List<NotebookInstanceLifecycleHook>)
.- Parameters:
onStart
- a consumer that will call methods onNotebookInstanceLifecycleHook.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-