Interface GetCalculationExecutionResponse.Builder
-
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetCalculationExecutionResponse.Builder,GetCalculationExecutionResponse>,SdkBuilder<GetCalculationExecutionResponse.Builder,GetCalculationExecutionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetCalculationExecutionResponse
public static interface GetCalculationExecutionResponse.Builder extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetCalculationExecutionResponse.Builder,GetCalculationExecutionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetCalculationExecutionResponse.BuildercalculationExecutionId(String calculationExecutionId)The calculation execution UUID.GetCalculationExecutionResponse.Builderdescription(String description)The description of the calculation execution.default GetCalculationExecutionResponse.Builderresult(Consumer<CalculationResult.Builder> result)Contains result information.GetCalculationExecutionResponse.Builderresult(CalculationResult result)Contains result information.GetCalculationExecutionResponse.BuildersessionId(String sessionId)The session ID that the calculation ran in.default GetCalculationExecutionResponse.Builderstatistics(Consumer<CalculationStatistics.Builder> statistics)Contains information about the data processing unit (DPU) execution time and progress.GetCalculationExecutionResponse.Builderstatistics(CalculationStatistics statistics)Contains information about the data processing unit (DPU) execution time and progress.default GetCalculationExecutionResponse.Builderstatus(Consumer<CalculationStatus.Builder> status)Contains information about the status of the calculation.GetCalculationExecutionResponse.Builderstatus(CalculationStatus status)Contains information about the status of the calculation.GetCalculationExecutionResponse.BuilderworkingDirectory(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
calculationExecutionId
GetCalculationExecutionResponse.Builder calculationExecutionId(String 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
GetCalculationExecutionResponse.Builder sessionId(String 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
GetCalculationExecutionResponse.Builder description(String 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
GetCalculationExecutionResponse.Builder workingDirectory(String 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
GetCalculationExecutionResponse.Builder status(CalculationStatus 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
default GetCalculationExecutionResponse.Builder status(Consumer<CalculationStatus.Builder> status)
Contains information about the status of the calculation.
This is a convenience method that creates an instance of theCalculationStatus.Builderavoiding the need to create one manually viaCalculationStatus.builder().When the
Consumercompletes,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:
status(CalculationStatus)
-
statistics
GetCalculationExecutionResponse.Builder statistics(CalculationStatistics 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.Builderavoiding the need to create one manually viaCalculationStatistics.builder().When the
Consumercompletes,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:
statistics(CalculationStatistics)
-
result
GetCalculationExecutionResponse.Builder result(CalculationResult 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
default GetCalculationExecutionResponse.Builder result(Consumer<CalculationResult.Builder> 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.Builderavoiding the need to create one manually viaCalculationResult.builder().When the
Consumercompletes,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:
result(CalculationResult)
-
-