public static interface GetSessionResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetSessionResponse.Builder,GetSessionResponse>
| Modifier and Type | Method and Description |
|---|---|
GetSessionResponse.Builder |
description(String description)
The session description.
|
default GetSessionResponse.Builder |
engineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration)
Contains engine configuration information like DPU usage.
|
GetSessionResponse.Builder |
engineConfiguration(EngineConfiguration engineConfiguration)
Contains engine configuration information like DPU usage.
|
GetSessionResponse.Builder |
engineVersion(String engineVersion)
The engine version used by the session (for example,
PySpark engine version 3). |
GetSessionResponse.Builder |
notebookVersion(String notebookVersion)
The notebook version.
|
default GetSessionResponse.Builder |
sessionConfiguration(Consumer<SessionConfiguration.Builder> sessionConfiguration)
Contains the workgroup configuration information used by the session.
|
GetSessionResponse.Builder |
sessionConfiguration(SessionConfiguration sessionConfiguration)
Contains the workgroup configuration information used by the session.
|
GetSessionResponse.Builder |
sessionId(String sessionId)
The session ID.
|
default GetSessionResponse.Builder |
statistics(Consumer<SessionStatistics.Builder> statistics)
Contains the DPU execution time.
|
GetSessionResponse.Builder |
statistics(SessionStatistics statistics)
Contains the DPU execution time.
|
default GetSessionResponse.Builder |
status(Consumer<SessionStatus.Builder> status)
Contains information about the status of the session.
|
GetSessionResponse.Builder |
status(SessionStatus status)
Contains information about the status of the session.
|
GetSessionResponse.Builder |
workGroup(String workGroup)
The workgroup to which the session belongs.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSessionResponse.Builder sessionId(String sessionId)
The session ID.
sessionId - The session ID.GetSessionResponse.Builder description(String description)
The session description.
description - The session description.GetSessionResponse.Builder workGroup(String workGroup)
The workgroup to which the session belongs.
workGroup - The workgroup to which the session belongs.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.
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.GetSessionResponse.Builder engineConfiguration(EngineConfiguration engineConfiguration)
Contains engine configuration information like DPU usage.
engineConfiguration - Contains engine configuration information like DPU usage.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.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)GetSessionResponse.Builder notebookVersion(String notebookVersion)
The notebook version.
notebookVersion - The notebook version.GetSessionResponse.Builder sessionConfiguration(SessionConfiguration sessionConfiguration)
Contains the workgroup configuration information used by the session.
sessionConfiguration - Contains the workgroup configuration information used by the session.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.Builder avoiding
the need to create one manually via SessionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to sessionConfiguration(SessionConfiguration).
sessionConfiguration - a consumer that will call methods on SessionConfiguration.BuildersessionConfiguration(SessionConfiguration)GetSessionResponse.Builder status(SessionStatus status)
Contains information about the status of the session.
status - Contains information about the status of the session.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.Builder avoiding the need
to create one manually via SessionStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to status(SessionStatus).
status - a consumer that will call methods on SessionStatus.Builderstatus(SessionStatus)GetSessionResponse.Builder statistics(SessionStatistics statistics)
Contains the DPU execution time.
statistics - Contains the DPU execution time.default GetSessionResponse.Builder statistics(Consumer<SessionStatistics.Builder> statistics)
Contains the DPU execution time.
This is a convenience method that creates an instance of theSessionStatistics.Builder avoiding the
need to create one manually via SessionStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to statistics(SessionStatistics).
statistics - a consumer that will call methods on SessionStatistics.Builderstatistics(SessionStatistics)Copyright © 2023. All rights reserved.