Interface GetCalculationExecutionResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetCalculationExecutionResponse.Builder,
,GetCalculationExecutionResponse> SdkBuilder<GetCalculationExecutionResponse.Builder,
,GetCalculationExecutionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetCalculationExecutionResponse
-
Method Summary
Modifier and TypeMethodDescriptioncalculationExecutionId
(String calculationExecutionId) The calculation execution UUID.description
(String description) The description of the calculation execution.result
(Consumer<CalculationResult.Builder> result) Contains result information.result
(CalculationResult result) Contains result information.The session ID that the calculation ran in.statistics
(Consumer<CalculationStatistics.Builder> statistics) Contains information about the data processing unit (DPU) execution time and progress.statistics
(CalculationStatistics statistics) Contains information about the data processing unit (DPU) execution time and progress.status
(Consumer<CalculationStatus.Builder> status) Contains information about the status of the calculation.status
(CalculationStatus status) Contains information about the status of the calculation.workingDirectory
(String workingDirectory) The Amazon S3 location in which calculation results are stored.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
calculationExecutionId
The calculation execution UUID.
- Parameters:
calculationExecutionId
- The calculation execution UUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
The session ID that the calculation ran in.
- Parameters:
sessionId
- The session ID that the calculation ran in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the calculation execution.
- Parameters:
description
- The description of the calculation execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workingDirectory
The Amazon S3 location in which calculation results are stored.
- Parameters:
workingDirectory
- The Amazon S3 location in which calculation results are stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the status of the calculation.
- Parameters:
status
- Contains information about the status of the calculation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Contains information about the status of the calculation.
This is a convenience method that creates an instance of theCalculationStatus.Builder
avoiding the need to create one manually viaCalculationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(CalculationStatus)
.- Parameters:
status
- a consumer that will call methods onCalculationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statistics
Contains information about the data processing unit (DPU) execution time and progress. This field is populated only when statistics are available.
- Parameters:
statistics
- Contains information about the data processing unit (DPU) execution time and progress. This field is populated only when statistics are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
default GetCalculationExecutionResponse.Builder statistics(Consumer<CalculationStatistics.Builder> statistics) Contains information about the data processing unit (DPU) execution time and progress. This field is populated only when statistics are available.
This is a convenience method that creates an instance of theCalculationStatistics.Builder
avoiding the need to create one manually viaCalculationStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatistics(CalculationStatistics)
.- Parameters:
statistics
- a consumer that will call methods onCalculationStatistics.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
result
Contains result information. This field is populated only if the calculation is completed.
- Parameters:
result
- Contains result information. This field is populated only if the calculation is completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
result
Contains result information. This field is populated only if the calculation is completed.
This is a convenience method that creates an instance of theCalculationResult.Builder
avoiding the need to create one manually viaCalculationResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresult(CalculationResult)
.- Parameters:
result
- a consumer that will call methods onCalculationResult.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-