public static interface StartSessionRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
| Modifier and Type | Method and Description |
|---|---|
StartSessionRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only
once).
|
StartSessionRequest.Builder |
description(String description)
The session description.
|
default StartSessionRequest.Builder |
engineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration)
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
|
StartSessionRequest.Builder |
engineConfiguration(EngineConfiguration engineConfiguration)
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
|
StartSessionRequest.Builder |
notebookVersion(String notebookVersion)
The notebook version.
|
StartSessionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartSessionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
StartSessionRequest.Builder |
sessionIdleTimeoutInMinutes(Integer sessionIdleTimeoutInMinutes)
The idle timeout in minutes for the session.
|
StartSessionRequest.Builder |
workGroup(String workGroup)
The workgroup to which the session belongs.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartSessionRequest.Builder description(String description)
The session description.
description - The session description.StartSessionRequest.Builder workGroup(String workGroup)
The workgroup to which the session belongs.
workGroup - The workgroup to which the session belongs.StartSessionRequest.Builder engineConfiguration(EngineConfiguration engineConfiguration)
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
engineConfiguration - Contains engine data processing unit (DPU) configuration settings and parameter mappings.default StartSessionRequest.Builder engineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration)
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
This is a convenience method that creates an instance of theEngineConfiguration.Builder avoiding the
need to create one manually via EngineConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to engineConfiguration(EngineConfiguration).
engineConfiguration - a consumer that will call methods on EngineConfiguration.BuilderengineConfiguration(EngineConfiguration)StartSessionRequest.Builder notebookVersion(String notebookVersion)
The notebook version. This value is required only when requesting that a notebook server be started for the
session. The only valid notebook version is Jupyter1.0.
notebookVersion - The notebook version. This value is required only when requesting that a notebook server be started
for the session. The only valid notebook version is Jupyter1.0.StartSessionRequest.Builder sessionIdleTimeoutInMinutes(Integer sessionIdleTimeoutInMinutes)
The idle timeout in minutes for the session.
sessionIdleTimeoutInMinutes - The idle timeout in minutes for the session.StartSessionRequest.Builder clientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only
once). If another StartSessionRequest is received, the same response is returned and another
session is not created. If a parameter has changed, an error is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
clientRequestToken - A unique case-sensitive string used to ensure the request to create the session is idempotent
(executes only once). If another StartSessionRequest is received, the same response is
returned and another session is not created. If a parameter has changed, an error is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
StartSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.