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.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
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.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
)
-
tags
CreateNotebookInstanceLifecycleConfigRequest.Builder tags(Collection<Tag> tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
- Parameters:
tags
- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateNotebookInstanceLifecycleConfigRequest.Builder tags(Tag... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
- Parameters:
tags
- An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateNotebookInstanceLifecycleConfigRequest.Builder tags(Consumer<Tag.Builder>... tags)
An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
overrideConfiguration
CreateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNotebookInstanceLifecycleConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-