Interface DescribeNotebookInstanceLifecycleConfigResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeNotebookInstanceLifecycleConfigResponse.Builder,,DescribeNotebookInstanceLifecycleConfigResponse> SageMakerResponse.Builder,SdkBuilder<DescribeNotebookInstanceLifecycleConfigResponse.Builder,,DescribeNotebookInstanceLifecycleConfigResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeNotebookInstanceLifecycleConfigResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime(Instant creationTime) A timestamp that tells when the lifecycle configuration was created.lastModifiedTime(Instant lastModifiedTime) A timestamp that tells when the lifecycle configuration was last modified.notebookInstanceLifecycleConfigArn(String notebookInstanceLifecycleConfigArn) The Amazon Resource Name (ARN) of the lifecycle configuration.notebookInstanceLifecycleConfigName(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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
notebookInstanceLifecycleConfigArn
DescribeNotebookInstanceLifecycleConfigResponse.Builder notebookInstanceLifecycleConfigArn(String notebookInstanceLifecycleConfigArn) The Amazon Resource Name (ARN) of the lifecycle configuration.
- Parameters:
notebookInstanceLifecycleConfigArn- The Amazon Resource Name (ARN) of the lifecycle configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notebookInstanceLifecycleConfigName
DescribeNotebookInstanceLifecycleConfigResponse.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
DescribeNotebookInstanceLifecycleConfigResponse.Builder onCreate(Collection<NotebookInstanceLifecycleHook> onCreate) The shell script that runs only once, when you create a notebook instance.
- Parameters:
onCreate- The shell script that runs only once, when you create a notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onCreate
DescribeNotebookInstanceLifecycleConfigResponse.Builder onCreate(NotebookInstanceLifecycleHook... onCreate) The shell script that runs only once, when you create a notebook instance.
- Parameters:
onCreate- The shell script that runs only once, when you create a notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onCreate
DescribeNotebookInstanceLifecycleConfigResponse.Builder onCreate(Consumer<NotebookInstanceLifecycleHook.Builder>... onCreate) The shell script that runs only once, when you create a notebook instance.
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 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
DescribeNotebookInstanceLifecycleConfigResponse.Builder onStart(Collection<NotebookInstanceLifecycleHook> onStart) The shell script that runs every time you start a notebook instance, including when you create the notebook instance.
- Parameters:
onStart- The shell script that runs every time you start a notebook instance, including when you create the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStart
DescribeNotebookInstanceLifecycleConfigResponse.Builder onStart(NotebookInstanceLifecycleHook... onStart) The shell script that runs every time you start a notebook instance, including when you create the notebook instance.
- Parameters:
onStart- The shell script that runs every time you start a notebook instance, including when you create the notebook instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStart
DescribeNotebookInstanceLifecycleConfigResponse.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.
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 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:
-
lastModifiedTime
A timestamp that tells when the lifecycle configuration was last modified.
- Parameters:
lastModifiedTime- A timestamp that tells when the lifecycle configuration was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
A timestamp that tells when the lifecycle configuration was created.
- Parameters:
creationTime- A timestamp that tells when the lifecycle configuration was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-