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 |
queryString(String queryString)
The text of the query itself.
|
CreateNamedQueryRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateNamedQueryRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.CreateNamedQueryRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.