Interface DescribeNotebookInstanceLifecycleConfigResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeNotebookInstanceLifecycleConfigResponse.Builder,DescribeNotebookInstanceLifecycleConfigResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeNotebookInstanceLifecycleConfigResponse.Builder,DescribeNotebookInstanceLifecycleConfigResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeNotebookInstanceLifecycleConfigResponse
public static interface DescribeNotebookInstanceLifecycleConfigResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeNotebookInstanceLifecycleConfigResponse.Builder,DescribeNotebookInstanceLifecycleConfigResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeNotebookInstanceLifecycleConfigResponse.Builder
creationTime(Instant creationTime)
A timestamp that tells when the lifecycle configuration was created.DescribeNotebookInstanceLifecycleConfigResponse.Builder
lastModifiedTime(Instant lastModifiedTime)
A timestamp that tells when the lifecycle configuration was last modified.DescribeNotebookInstanceLifecycleConfigResponse.Builder
notebookInstanceLifecycleConfigArn(String notebookInstanceLifecycleConfigArn)
The Amazon Resource Name (ARN) of the lifecycle configuration.DescribeNotebookInstanceLifecycleConfigResponse.Builder
notebookInstanceLifecycleConfigName(String notebookInstanceLifecycleConfigName)
The name of the lifecycle configuration.DescribeNotebookInstanceLifecycleConfigResponse.Builder
onCreate(Collection<NotebookInstanceLifecycleHook> onCreate)
The shell script that runs only once, when you create a notebook instance.DescribeNotebookInstanceLifecycleConfigResponse.Builder
onCreate(Consumer<NotebookInstanceLifecycleHook.Builder>... onCreate)
The shell script that runs only once, when you create a notebook instance.DescribeNotebookInstanceLifecycleConfigResponse.Builder
onCreate(NotebookInstanceLifecycleHook... onCreate)
The shell script that runs only once, when you create a notebook instance.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.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.DescribeNotebookInstanceLifecycleConfigResponse.Builder
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
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.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
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.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
)
-
lastModifiedTime
DescribeNotebookInstanceLifecycleConfigResponse.Builder lastModifiedTime(Instant 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
DescribeNotebookInstanceLifecycleConfigResponse.Builder creationTime(Instant 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.
-
-