Interface UpdateNotebookInstanceLifecycleConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateNotebookInstanceLifecycleConfigRequest.Builder,UpdateNotebookInstanceLifecycleConfigRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateNotebookInstanceLifecycleConfigRequest.Builder,UpdateNotebookInstanceLifecycleConfigRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateNotebookInstanceLifecycleConfigRequest
public static interface UpdateNotebookInstanceLifecycleConfigRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateNotebookInstanceLifecycleConfigRequest.Builder,UpdateNotebookInstanceLifecycleConfigRequest>
-
-
Method Summary
-
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 Detail
-
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 to#onCreate(List
.) - 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:
#onCreate(java.util.Collection
)
-
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 to#onStart(List
.) - 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:
#onStart(java.util.Collection
)
-
overrideConfiguration
UpdateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-