Class CfnTableProps.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTableProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTableProps>
- Enclosing interface:
CfnTableProps
@Stability(Stable)
public static final class CfnTableProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTableProps>
A builder for
CfnTableProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.compaction(IResolvable compaction) Sets the value ofCfnTableProps.getCompaction()compaction(CfnTable.CompactionProperty compaction) Sets the value ofCfnTableProps.getCompaction()icebergMetadata(IResolvable icebergMetadata) Sets the value ofCfnTableProps.getIcebergMetadata()icebergMetadata(CfnTable.IcebergMetadataProperty icebergMetadata) Sets the value ofCfnTableProps.getIcebergMetadata()Sets the value ofCfnTableProps.getNamespace()openTableFormat(String openTableFormat) Sets the value ofCfnTableProps.getOpenTableFormat()snapshotManagement(IResolvable snapshotManagement) Sets the value ofCfnTableProps.getSnapshotManagement()snapshotManagement(CfnTable.SnapshotManagementProperty snapshotManagement) Sets the value ofCfnTableProps.getSnapshotManagement()storageClassConfiguration(IResolvable storageClassConfiguration) Sets the value ofCfnTableProps.getStorageClassConfiguration()storageClassConfiguration(CfnTable.StorageClassConfigurationProperty storageClassConfiguration) Sets the value ofCfnTableProps.getStorageClassConfiguration()tableBucketArn(String tableBucketArn) Sets the value ofCfnTableProps.getTableBucketArn()Sets the value ofCfnTableProps.getTableName()Sets the value ofCfnTableProps.getTags()withoutMetadata(String withoutMetadata) Sets the value ofCfnTableProps.getWithoutMetadata()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
namespace
Sets the value ofCfnTableProps.getNamespace()- Parameters:
namespace- The name of the namespace. This parameter is required.- Returns:
this
-
openTableFormat
Sets the value ofCfnTableProps.getOpenTableFormat()- Parameters:
openTableFormat- The format of the table. This parameter is required.- Returns:
this
-
tableBucketArn
Sets the value ofCfnTableProps.getTableBucketArn()- Parameters:
tableBucketArn- The Amazon Resource Name (ARN) of the table bucket to create the table in. This parameter is required.- Returns:
this
-
tableName
Sets the value ofCfnTableProps.getTableName()- Parameters:
tableName- The name for the table. This parameter is required.- Returns:
this
-
compaction
Sets the value ofCfnTableProps.getCompaction()- Parameters:
compaction- Contains details about the compaction settings for an Iceberg table.- Returns:
this
-
compaction
Sets the value ofCfnTableProps.getCompaction()- Parameters:
compaction- Contains details about the compaction settings for an Iceberg table.- Returns:
this
-
icebergMetadata
Sets the value ofCfnTableProps.getIcebergMetadata()- Parameters:
icebergMetadata- Contains details about the metadata for an Iceberg table.- Returns:
this
-
icebergMetadata
@Stability(Stable) public CfnTableProps.Builder icebergMetadata(CfnTable.IcebergMetadataProperty icebergMetadata) Sets the value ofCfnTableProps.getIcebergMetadata()- Parameters:
icebergMetadata- Contains details about the metadata for an Iceberg table.- Returns:
this
-
snapshotManagement
Sets the value ofCfnTableProps.getSnapshotManagement()- Parameters:
snapshotManagement- Contains details about the Iceberg snapshot management settings for the table.- Returns:
this
-
snapshotManagement
@Stability(Stable) public CfnTableProps.Builder snapshotManagement(CfnTable.SnapshotManagementProperty snapshotManagement) Sets the value ofCfnTableProps.getSnapshotManagement()- Parameters:
snapshotManagement- Contains details about the Iceberg snapshot management settings for the table.- Returns:
this
-
storageClassConfiguration
@Stability(Stable) public CfnTableProps.Builder storageClassConfiguration(IResolvable storageClassConfiguration) Sets the value ofCfnTableProps.getStorageClassConfiguration()- Parameters:
storageClassConfiguration- Specifies storage class settings for the table.- Returns:
this
-
storageClassConfiguration
@Stability(Stable) public CfnTableProps.Builder storageClassConfiguration(CfnTable.StorageClassConfigurationProperty storageClassConfiguration) Sets the value ofCfnTableProps.getStorageClassConfiguration()- Parameters:
storageClassConfiguration- Specifies storage class settings for the table.- Returns:
this
-
tags
Sets the value ofCfnTableProps.getTags()- Parameters:
tags- User tags (key-value pairs) to associate with the table.- Returns:
this
-
withoutMetadata
Sets the value ofCfnTableProps.getWithoutMetadata()- Parameters:
withoutMetadata- Indicates that you don't want to specify a schema for the table. This property is mutually exclusive toIcebergMetadata, and its only possible value isYes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTableProps>- Returns:
- a new instance of
CfnTableProps - Throws:
NullPointerException- if any required attribute was not provided
-