Interface CreateSystemTableConfigurationRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateSystemTableConfigurationRequest.Builder,,CreateSystemTableConfigurationRequest> SdkBuilder<CreateSystemTableConfigurationRequest.Builder,,CreateSystemTableConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSystemTableConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) A unique case-sensitive string used to ensure the request to create the system table configuration is idempotent (executes only once).The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key to use for encrypting the system table data.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The system table configuration to create.tableName(SystemTableName tableName) The system table configuration to create.tags(Collection<Tag> tags) The tags to add to the system table configuration.tags(Consumer<Tag.Builder>... tags) The tags to add to the system table configuration.The tags to add to the system table configuration.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clientRequestToken
A unique case-sensitive string used to ensure the request to create the system table configuration is idempotent (executes only once). If another
CreateSystemTableConfigurationrequest is received with the same client token but different parameters, the request fails with anInvalidRequestException.- Parameters:
clientRequestToken- A unique case-sensitive string used to ensure the request to create the system table configuration is idempotent (executes only once). If anotherCreateSystemTableConfigurationrequest is received with the same client token but different parameters, the request fails with anInvalidRequestException.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tableName
The system table configuration to create. The only accepted value is
ALL, the reserved keyword that enables all system tables for the account.- Parameters:
tableName- The system table configuration to create. The only accepted value isALL, the reserved keyword that enables all system tables for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tableName
The system table configuration to create. The only accepted value is
ALL, the reserved keyword that enables all system tables for the account.- Parameters:
tableName- The system table configuration to create. The only accepted value isALL, the reserved keyword that enables all system tables for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyArn
The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key to use for encrypting the system table data.
- Parameters:
kmsKeyArn- The Amazon Resource Name (ARN) of the AWS Key Management Service (AWS KMS) key to use for encrypting the system table data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the system table configuration.
- Parameters:
tags- The tags to add to the system table configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the system table configuration.
- Parameters:
tags- The tags to add to the system table configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to add to the system table configuration.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSystemTableConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSystemTableConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-