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 SummaryModifier 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).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.Builderbuild, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
sessionIdThe session ID. - Parameters:
- sessionId- The session ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
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.
 
- 
engineVersionThe 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.
 
- 
engineConfigurationContains 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.
 
- 
engineConfigurationdefault 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 on- EngineConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
notebookVersionThe notebook version. - Parameters:
- notebookVersion- The notebook version.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sessionConfigurationContains 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.
 
- 
sessionConfigurationdefault 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 on- SessionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusContains 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.
 
- 
statusContains 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 on- SessionStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statisticsContains 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.
 
- 
statisticsContains 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 on- SessionStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-