public static interface CreateNamedQueryRequest.Builder extends AthenaRequest.Builder, CopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>
Modifier and Type | Method and Description |
---|---|
CreateNamedQueryRequest.Builder |
clientRequestToken(String clientRequestToken)
A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only
once).
|
CreateNamedQueryRequest.Builder |
database(String database)
The database to which the query belongs.
|
CreateNamedQueryRequest.Builder |
description(String description)
A brief explanation of the query.
|
CreateNamedQueryRequest.Builder |
name(String name)
The plain language name for the query.
|
CreateNamedQueryRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateNamedQueryRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateNamedQueryRequest.Builder |
queryString(String queryString)
The text of the query itself.
|
build
overrideConfiguration
copy
applyMutation, build
CreateNamedQueryRequest.Builder name(String name)
The plain language name for the query.
name
- The plain language name for the query.CreateNamedQueryRequest.Builder description(String description)
A brief explanation of the query.
description
- A brief explanation of the query.CreateNamedQueryRequest.Builder database(String database)
The database to which the query belongs.
database
- The database to which the query belongs.CreateNamedQueryRequest.Builder queryString(String queryString)
The text of the query itself. In other words, all query statements.
queryString
- The text of the query itself. In other words, all query statements.CreateNamedQueryRequest.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 CreateNamedQuery
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 CreateNamedQuery
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.
CreateNamedQueryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateNamedQueryRequest.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.