Interface CreateTableRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTableRequest.Builder,,CreateTableRequest> S3TablesRequest.Builder,SdkBuilder<CreateTableRequest.Builder,,CreateTableRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTableRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateTableRequest.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration to use for the table.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration to use for the table.The format for the table.format(OpenTableFormat format) The format for the table.default CreateTableRequest.Buildermetadata(Consumer<TableMetadata.Builder> metadata) The metadata for the table.metadata(TableMetadata metadata) The metadata for the table.The name for the table.The namespace to associated with the table.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tableBucketARN(String tableBucketARN) The Amazon Resource Name (ARN) of the table bucket to create the table in.A map of user-defined tags that you would like to apply to the table that you are creating.Methods 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.services.s3tables.model.S3TablesRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
tableBucketARN
The Amazon Resource Name (ARN) of the table bucket to create the table in.
- Parameters:
tableBucketARN- The Amazon Resource Name (ARN) of the table bucket to create the table in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace to associated with the table.
- Parameters:
namespace- The namespace to associated with the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name for the table.
- Parameters:
name- The name for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
The format for the table.
- Parameters:
format- The format for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The format for the table.
- Parameters:
format- The format for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
The metadata for the table.
- Parameters:
metadata- The metadata for the table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata for the table.
This is a convenience method that creates an instance of theTableMetadata.Builderavoiding the need to create one manually viaTableMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadata(TableMetadata).- Parameters:
metadata- a consumer that will call methods onTableMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
encryptionConfiguration
The encryption configuration to use for the table. This configuration specifies the encryption algorithm and, if using SSE-KMS, the KMS key to use for encrypting the table.
If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
- Parameters:
encryptionConfiguration- The encryption configuration to use for the table. This configuration specifies the encryption algorithm and, if using SSE-KMS, the KMS key to use for encrypting the table.If you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionConfiguration
default CreateTableRequest.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration to use for the table. This configuration specifies the encryption algorithm and, if using SSE-KMS, the KMS key to use for encrypting the table.
This is a convenience method that creates an instance of theIf you choose SSE-KMS encryption you must grant the S3 Tables maintenance principal access to your KMS key. For more information, see Permissions requirements for S3 Tables SSE-KMS encryption.
EncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map of user-defined tags that you would like to apply to the table that you are creating. A tag is a key-value pair that you apply to your resources. Tags can help you organize, track costs for, and control access to resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).
You must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTablepermission to create a table with tags.- Parameters:
tags- A map of user-defined tags that you would like to apply to the table that you are creating. A tag is a key-value pair that you apply to your resources. Tags can help you organize, track costs for, and control access to resources. For more information, see Tagging for cost allocation or attribute-based access control (ABAC).You must have the
s3tables:TagResourcepermission in addition tos3tables:CreateTablepermission to create a table with tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateTableRequest.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
CreateTableRequest.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.
-