Interface StartSessionRequest.Builder
- All Superinterfaces:
- AthenaRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<StartSessionRequest.Builder,,- StartSessionRequest> - SdkBuilder<StartSessionRequest.Builder,,- StartSessionRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- StartSessionRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique case-sensitive string used to ensure the request to create the session is idempotent (executes only once).description(String description) The session description.default StartSessionRequest.BuilderengineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration) Contains engine data processing unit (DPU) configuration settings and parameter mappings.engineConfiguration(EngineConfiguration engineConfiguration) Contains engine data processing unit (DPU) configuration settings and parameter mappings.notebookVersion(String notebookVersion) The notebook version.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sessionIdleTimeoutInMinutes(Integer sessionIdleTimeoutInMinutes) The idle timeout in minutes for the session.The workgroup to which the session belongs.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
descriptionThe session description. - Parameters:
- description- The session description.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
workGroupThe 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.
 
- 
engineConfigurationContains 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.
 
- 
engineConfigurationdefault 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 on- EngineConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
notebookVersionThe 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 is- Athena notebook version 1. If you specify a value for- NotebookVersion, you must also specify a value for- NotebookId. See EngineConfiguration$AdditionalConfigs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sessionIdleTimeoutInMinutesThe 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.
 
- 
clientRequestTokenA 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 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationStartSessionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationStartSessionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-