Interface StartSessionRequest.Builder
-
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>,SdkBuilder<StartSessionRequest.Builder,StartSessionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartSessionRequest
public static interface StartSessionRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<StartSessionRequest.Builder,StartSessionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartSessionRequest.BuilderclientRequestToken(String clientRequestToken)A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once).StartSessionRequest.Builderdescription(String description)The session description.default StartSessionRequest.BuilderengineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration)Contains engine data processing unit (DPU) configuration settings and parameter mappings.StartSessionRequest.BuilderengineConfiguration(EngineConfiguration engineConfiguration)Contains engine data processing unit (DPU) configuration settings and parameter mappings.StartSessionRequest.BuildernotebookVersion(String notebookVersion)The notebook version.StartSessionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartSessionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartSessionRequest.BuildersessionIdleTimeoutInMinutes(Integer sessionIdleTimeoutInMinutes)The idle timeout in minutes for the session.StartSessionRequest.BuilderworkGroup(String workGroup)The workgroup to which the session belongs.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
build
-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
description
StartSessionRequest.Builder description(String description)
The session description.
- Parameters:
description- The session description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workGroup
StartSessionRequest.Builder workGroup(String workGroup)
The workgroup to which the session belongs.
- Parameters:
workGroup- The workgroup to which the session belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineConfiguration
StartSessionRequest.Builder engineConfiguration(EngineConfiguration engineConfiguration)
Contains engine data processing unit (DPU) configuration settings and parameter mappings.
- Parameters:
engineConfiguration- Contains engine data processing unit (DPU) configuration settings and parameter mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineConfiguration
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.Builderavoiding the need to create one manually viaEngineConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toengineConfiguration(EngineConfiguration).- Parameters:
engineConfiguration- a consumer that will call methods onEngineConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
engineConfiguration(EngineConfiguration)
-
notebookVersion
StartSessionRequest.Builder notebookVersion(String notebookVersion)
The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version is
Athena notebook version 1. If you specify a value forNotebookVersion, you must also specify a value forNotebookId. See EngineConfiguration$AdditionalConfigs.- Parameters:
notebookVersion- The notebook version. This value is supplied automatically for notebook sessions in the Athena console and is not required for programmatic session access. The only valid notebook version isAthena notebook version 1. If you specify a value forNotebookVersion, you must also specify a value forNotebookId. See EngineConfiguration$AdditionalConfigs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionIdleTimeoutInMinutes
StartSessionRequest.Builder sessionIdleTimeoutInMinutes(Integer sessionIdleTimeoutInMinutes)
The idle timeout in minutes for the session.
- Parameters:
sessionIdleTimeoutInMinutes- The idle timeout in minutes for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
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
StartSessionRequestis 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.
- Parameters:
clientRequestToken- A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once). If anotherStartSessionRequestis 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
StartSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-