Interface GetQueryExecutionResponse.Builder
- All Superinterfaces:
AthenaResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetQueryExecutionResponse.Builder,,GetQueryExecutionResponse> SdkBuilder<GetQueryExecutionResponse.Builder,,GetQueryExecutionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQueryExecutionResponse
public static interface GetQueryExecutionResponse.Builder
extends AthenaResponse.Builder, SdkPojo, CopyableBuilder<GetQueryExecutionResponse.Builder,GetQueryExecutionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionqueryExecution(Consumer<QueryExecution.Builder> queryExecution) Information about the query execution.queryExecution(QueryExecution queryExecution) Information about the query execution.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
queryExecution
Information about the query execution.
- Parameters:
queryExecution- Information about the query execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryExecution
default GetQueryExecutionResponse.Builder queryExecution(Consumer<QueryExecution.Builder> queryExecution) Information about the query execution.
This is a convenience method that creates an instance of theQueryExecution.Builderavoiding the need to create one manually viaQueryExecution.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryExecution(QueryExecution).- Parameters:
queryExecution- a consumer that will call methods onQueryExecution.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-