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.Builder
encryptionConfiguration
(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.Builder
metadata
(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.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.services.s3tables.model.S3TablesRequest.Builder
build
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 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.Builder
avoiding the need to create one manually viaTableMetadata.builder()
.When the
Consumer
completes,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.
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.
EncryptionConfiguration.Builder
avoiding the need to create one manually viaEncryptionConfiguration.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
CreateTableRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-