Interface GetSessionResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>,SdkBuilder<GetSessionResponse.Builder,GetSessionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSessionResponse
public static interface GetSessionResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetSessionResponse.Builderdescription(String description)The session description.default GetSessionResponse.BuilderengineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration)Contains engine configuration information like DPU usage.GetSessionResponse.BuilderengineConfiguration(EngineConfiguration engineConfiguration)Contains engine configuration information like DPU usage.GetSessionResponse.BuilderengineVersion(String engineVersion)The engine version used by the session (for example,PySpark engine version 3).GetSessionResponse.BuildernotebookVersion(String notebookVersion)The notebook version.default GetSessionResponse.BuildersessionConfiguration(Consumer<SessionConfiguration.Builder> sessionConfiguration)Contains the workgroup configuration information used by the session.GetSessionResponse.BuildersessionConfiguration(SessionConfiguration sessionConfiguration)Contains the workgroup configuration information used by the session.GetSessionResponse.BuildersessionId(String sessionId)The session ID.default GetSessionResponse.Builderstatistics(Consumer<SessionStatistics.Builder> statistics)Contains the DPU execution time.GetSessionResponse.Builderstatistics(SessionStatistics statistics)Contains the DPU execution time.default GetSessionResponse.Builderstatus(Consumer<SessionStatus.Builder> status)Contains information about the status of the session.GetSessionResponse.Builderstatus(SessionStatus status)Contains information about the status of the session.GetSessionResponse.BuilderworkGroup(String workGroup)The workgroup to which the session belongs.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
sessionId
GetSessionResponse.Builder sessionId(String sessionId)
The session ID.
- Parameters:
sessionId- The session ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetSessionResponse.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
GetSessionResponse.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.
-
engineVersion
GetSessionResponse.Builder engineVersion(String engineVersion)
The engine version used by the session (for example,
PySpark engine version 3). You can get a list of engine versions by calling ListEngineVersions.- Parameters:
engineVersion- The engine version used by the session (for example,PySpark engine version 3). You can get a list of engine versions by calling ListEngineVersions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineConfiguration
GetSessionResponse.Builder engineConfiguration(EngineConfiguration engineConfiguration)
Contains engine configuration information like DPU usage.
- Parameters:
engineConfiguration- Contains engine configuration information like DPU usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engineConfiguration
default GetSessionResponse.Builder engineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration)
Contains engine configuration information like DPU usage.
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
GetSessionResponse.Builder notebookVersion(String notebookVersion)
The notebook version.
- Parameters:
notebookVersion- The notebook version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionConfiguration
GetSessionResponse.Builder sessionConfiguration(SessionConfiguration sessionConfiguration)
Contains the workgroup configuration information used by the session.
- Parameters:
sessionConfiguration- Contains the workgroup configuration information used by the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionConfiguration
default GetSessionResponse.Builder sessionConfiguration(Consumer<SessionConfiguration.Builder> sessionConfiguration)
Contains the workgroup configuration information used by the session.
This is a convenience method that creates an instance of theSessionConfiguration.Builderavoiding the need to create one manually viaSessionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosessionConfiguration(SessionConfiguration).- Parameters:
sessionConfiguration- a consumer that will call methods onSessionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sessionConfiguration(SessionConfiguration)
-
status
GetSessionResponse.Builder status(SessionStatus status)
Contains information about the status of the session.
- Parameters:
status- Contains information about the status of the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default GetSessionResponse.Builder status(Consumer<SessionStatus.Builder> status)
Contains information about the status of the session.
This is a convenience method that creates an instance of theSessionStatus.Builderavoiding the need to create one manually viaSessionStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(SessionStatus).- Parameters:
status- a consumer that will call methods onSessionStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(SessionStatus)
-
statistics
GetSessionResponse.Builder statistics(SessionStatistics statistics)
Contains the DPU execution time.
- Parameters:
statistics- Contains the DPU execution time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default GetSessionResponse.Builder statistics(Consumer<SessionStatistics.Builder> statistics)
Contains the DPU execution time.
This is a convenience method that creates an instance of theSessionStatistics.Builderavoiding the need to create one manually viaSessionStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatistics(SessionStatistics).- Parameters:
statistics- a consumer that will call methods onSessionStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statistics(SessionStatistics)
-
-