Interface CreateNamedQueryRequest.Builder
-
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>,SdkBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateNamedQueryRequest
public static interface CreateNamedQueryRequest.Builder extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<CreateNamedQueryRequest.Builder,CreateNamedQueryRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateNamedQueryRequest.BuilderclientRequestToken(String clientRequestToken)A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once).CreateNamedQueryRequest.Builderdatabase(String database)The database to which the query belongs.CreateNamedQueryRequest.Builderdescription(String description)The query description.CreateNamedQueryRequest.Buildername(String name)The query name.CreateNamedQueryRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateNamedQueryRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateNamedQueryRequest.BuilderqueryString(String queryString)The contents of the query with all query statements.CreateNamedQueryRequest.BuilderworkGroup(String workGroup)The name of the workgroup in which the named query is being created.-
Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
CreateNamedQueryRequest.Builder name(String name)
The query name.
- Parameters:
name- The query name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateNamedQueryRequest.Builder description(String description)
The query description.
- Parameters:
description- The query description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
CreateNamedQueryRequest.Builder database(String database)
The database to which the query belongs.
- Parameters:
database- The database to which the query belongs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryString
CreateNamedQueryRequest.Builder queryString(String queryString)
The contents of the query with all query statements.
- Parameters:
queryString- The contents of the query with all query statements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
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
CreateNamedQueryrequest is received, the same response is returned and another query is not created. If a parameter has changed, for example, theQueryString, 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.
- Parameters:
clientRequestToken- A unique case-sensitive string used to ensure the request to create the query is idempotent (executes only once). If anotherCreateNamedQueryrequest is received, the same response is returned and another query is not created. If a parameter has changed, for example, theQueryString, 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workGroup
CreateNamedQueryRequest.Builder workGroup(String workGroup)
The name of the workgroup in which the named query is being created.
- Parameters:
workGroup- The name of the workgroup in which the named query is being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateNamedQueryRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateNamedQueryRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-