public static interface StartQueryExecutionRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<StartQueryExecutionRequest.Builder,StartQueryExecutionRequest>
| Modifier and Type | Method and Description |
|---|---|
StartQueryExecutionRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only
once).
|
StartQueryExecutionRequest.Builder |
executionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query.
|
StartQueryExecutionRequest.Builder |
executionParameters(String... executionParameters)
A list of values for the parameters in a query.
|
StartQueryExecutionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
StartQueryExecutionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default StartQueryExecutionRequest.Builder |
queryExecutionContext(Consumer<QueryExecutionContext.Builder> queryExecutionContext)
The database within which the query executes.
|
StartQueryExecutionRequest.Builder |
queryExecutionContext(QueryExecutionContext queryExecutionContext)
The database within which the query executes.
|
StartQueryExecutionRequest.Builder |
queryString(String queryString)
The SQL query statements to be executed.
|
default StartQueryExecutionRequest.Builder |
resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
Specifies information about where and how to save the results of the query execution.
|
StartQueryExecutionRequest.Builder |
resultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution.
|
default StartQueryExecutionRequest.Builder |
resultReuseConfiguration(Consumer<ResultReuseConfiguration.Builder> resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
|
StartQueryExecutionRequest.Builder |
resultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
|
StartQueryExecutionRequest.Builder |
workGroup(String workGroup)
The name of the workgroup in which the query is being started.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildStartQueryExecutionRequest.Builder queryString(String queryString)
The SQL query statements to be executed.
queryString - The SQL query statements to be executed.StartQueryExecutionRequest.Builder clientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only
once). If another StartQueryExecution request is received, the same response is returned and
another query is not created. If a parameter has changed, for example, the QueryString, an error
is returned.
This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
clientRequestToken - A unique case-sensitive string used to ensure the request to create the query is idempotent (executes
only once). If another StartQueryExecution request is received, the same response is
returned and another query is not created. If a parameter has changed, for example, the
QueryString, an error is returned. This token is listed as not required because Amazon Web Services SDKs (for example the Amazon Web Services SDK for Java) auto-generate the token for users. If you are not using the Amazon Web Services SDK or the Amazon Web Services CLI, you must provide this token or the action will fail.
StartQueryExecutionRequest.Builder queryExecutionContext(QueryExecutionContext queryExecutionContext)
The database within which the query executes.
queryExecutionContext - The database within which the query executes.default StartQueryExecutionRequest.Builder queryExecutionContext(Consumer<QueryExecutionContext.Builder> queryExecutionContext)
The database within which the query executes.
This is a convenience method that creates an instance of theQueryExecutionContext.Builder avoiding
the need to create one manually via QueryExecutionContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to queryExecutionContext(QueryExecutionContext).
queryExecutionContext - a consumer that will call methods on QueryExecutionContext.BuilderqueryExecutionContext(QueryExecutionContext)StartQueryExecutionRequest.Builder resultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution. If the query runs in a workgroup, then workgroup's settings may override query settings. This affects the query results location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
resultConfiguration - Specifies information about where and how to save the results of the query execution. If the query
runs in a workgroup, then workgroup's settings may override query settings. This affects the query
results location. The workgroup settings override is specified in EnforceWorkGroupConfiguration
(true/false) in the WorkGroupConfiguration. See
WorkGroupConfiguration$EnforceWorkGroupConfiguration.default StartQueryExecutionRequest.Builder resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
Specifies information about where and how to save the results of the query execution. If the query runs in a workgroup, then workgroup's settings may override query settings. This affects the query results location. The workgroup settings override is specified in EnforceWorkGroupConfiguration (true/false) in the WorkGroupConfiguration. See WorkGroupConfiguration$EnforceWorkGroupConfiguration.
This is a convenience method that creates an instance of theResultConfiguration.Builder avoiding the
need to create one manually via ResultConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to resultConfiguration(ResultConfiguration).
resultConfiguration - a consumer that will call methods on ResultConfiguration.BuilderresultConfiguration(ResultConfiguration)StartQueryExecutionRequest.Builder workGroup(String workGroup)
The name of the workgroup in which the query is being started.
workGroup - The name of the workgroup in which the query is being started.StartQueryExecutionRequest.Builder executionParameters(Collection<String> executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
executionParameters - A list of values for the parameters in a query. The values are applied sequentially to the parameters
in the query in the order in which the parameters occur.StartQueryExecutionRequest.Builder executionParameters(String... executionParameters)
A list of values for the parameters in a query. The values are applied sequentially to the parameters in the query in the order in which the parameters occur.
executionParameters - A list of values for the parameters in a query. The values are applied sequentially to the parameters
in the query in the order in which the parameters occur.StartQueryExecutionRequest.Builder resultReuseConfiguration(ResultReuseConfiguration resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
resultReuseConfiguration - Specifies the query result reuse behavior for the query.default StartQueryExecutionRequest.Builder resultReuseConfiguration(Consumer<ResultReuseConfiguration.Builder> resultReuseConfiguration)
Specifies the query result reuse behavior for the query.
This is a convenience method that creates an instance of theResultReuseConfiguration.Builder
avoiding the need to create one manually via ResultReuseConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to resultReuseConfiguration(ResultReuseConfiguration).
resultReuseConfiguration - a consumer that will call methods on ResultReuseConfiguration.BuilderresultReuseConfiguration(ResultReuseConfiguration)StartQueryExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartQueryExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.