Interface CreateNotebookInstanceLifecycleConfigRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNotebookInstanceLifecycleConfigRequest.Builder,CreateNotebookInstanceLifecycleConfigRequest>,SageMakerRequest.Builder,SdkBuilder<CreateNotebookInstanceLifecycleConfigRequest.Builder,CreateNotebookInstanceLifecycleConfigRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateNotebookInstanceLifecycleConfigRequest
public static interface CreateNotebookInstanceLifecycleConfigRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateNotebookInstanceLifecycleConfigRequest.Builder,CreateNotebookInstanceLifecycleConfigRequest>
-
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
notebookInstanceLifecycleConfigName
CreateNotebookInstanceLifecycleConfigRequest.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
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.
- Parameters:
onCreate- A 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
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.
- Parameters:
onCreate- A 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
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 method that creates an instance of theNotebookInstanceLifecycleHook.Builderavoiding the need to create one manually viaNotebookInstanceLifecycleHook.builder().When the
Consumercompletes,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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStart
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStart
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 method that creates an instance of theNotebookInstanceLifecycleHook.Builderavoiding the need to create one manually viaNotebookInstanceLifecycleHook.builder().When the
Consumercompletes,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
CreateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-