Interface GetSessionResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetSessionResponse.Builder,,GetSessionResponse> SdkBuilder<GetSessionResponse.Builder,,GetSessionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSessionResponse
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The session description.default GetSessionResponse.BuilderengineConfiguration(Consumer<EngineConfiguration.Builder> engineConfiguration) Contains engine configuration information like DPU usage.engineConfiguration(EngineConfiguration engineConfiguration) Contains engine configuration information like DPU usage.engineVersion(String engineVersion) The engine version used by the session (for example,PySpark engine version 3).default GetSessionResponse.BuildermonitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) Sets the value of the MonitoringConfiguration property for this object.monitoringConfiguration(MonitoringConfiguration monitoringConfiguration) Sets the value of the MonitoringConfiguration property for this object.notebookVersion(String notebookVersion) The notebook version.default GetSessionResponse.BuildersessionConfiguration(Consumer<SessionConfiguration.Builder> sessionConfiguration) Contains the workgroup configuration information used by the session.sessionConfiguration(SessionConfiguration sessionConfiguration) Contains the workgroup configuration information used by the session.The session ID.default GetSessionResponse.Builderstatistics(Consumer<SessionStatistics.Builder> statistics) Contains the DPU execution time.statistics(SessionStatistics statistics) Contains the DPU execution time.default GetSessionResponse.Builderstatus(Consumer<SessionStatus.Builder> status) Contains information about the status of the session.status(SessionStatus status) Contains information about the status of the session.The workgroup to which the session belongs.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
The session description.
- Parameters:
description- The session description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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:
-
notebookVersion
The notebook version.
- Parameters:
notebookVersion- The notebook version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringConfiguration
Sets the value of the MonitoringConfiguration property for this object.- Parameters:
monitoringConfiguration- The new value for the MonitoringConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monitoringConfiguration
default GetSessionResponse.Builder monitoringConfiguration(Consumer<MonitoringConfiguration.Builder> monitoringConfiguration) Sets the value of the MonitoringConfiguration property for this object. This is a convenience method that creates an instance of theMonitoringConfiguration.Builderavoiding the need to create one manually viaMonitoringConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonitoringConfiguration(MonitoringConfiguration).- Parameters:
monitoringConfiguration- a consumer that will call methods onMonitoringConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-
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
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:
-
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
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:
-