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)
Add an optional request override configuration.
|
StartQueryExecutionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
build
overrideConfiguration
copy
applyMutation, build
StartQueryExecutionRequest.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.Builder
queryExecutionContext(QueryExecutionContext)
StartQueryExecutionRequest.Builder resultConfiguration(ResultConfiguration resultConfiguration)
Specifies information about where and how to save the results of the query execution.
resultConfiguration
- Specifies information about where and how to save the results of the query execution.default StartQueryExecutionRequest.Builder resultConfiguration(Consumer<ResultConfiguration.Builder> resultConfiguration)
Specifies information about where and how to save the results of the query execution.
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.Builder
resultConfiguration(ResultConfiguration)
StartQueryExecutionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartQueryExecutionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.