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 |
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.
|
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 AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS 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 AWS SDKs (for example the AWS SDK for Java) auto-generate the token for users. If you are not using the AWS SDK or the AWS 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 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 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderStartQueryExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.