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()
tableBucketArn
(String tableBucketArn) Sets the value ofCfnTableProps.getTableBucketArn()
Sets the value ofCfnTableProps.getTableName()
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
- 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 specified table bucket. 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
- Settings governing the Compaction maintenance action. Contains details about the compaction settings for an Iceberg table.- Returns:
this
-
compaction
Sets the value ofCfnTableProps.getCompaction()
- Parameters:
compaction
- Settings governing the Compaction maintenance action. 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 snapshot management settings for an Iceberg table. A snapshot is expired when it exceeds MinSnapshotsToKeep and MaxSnapshotAgeHours.- Returns:
this
-
snapshotManagement
@Stability(Stable) public CfnTableProps.Builder snapshotManagement(CfnTable.SnapshotManagementProperty snapshotManagement) Sets the value ofCfnTableProps.getSnapshotManagement()
- Parameters:
snapshotManagement
- Contains details about the snapshot management settings for an Iceberg table. A snapshot is expired when it exceeds MinSnapshotsToKeep and MaxSnapshotAgeHours.- 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 to 'IcebergMetadata', and its only possible value is 'Yes'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTableProps>
- Returns:
- a new instance of
CfnTableProps
- Throws:
NullPointerException
- if any required attribute was not provided
-