Class CfnTable.IcebergMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTable.IcebergMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.IcebergMetadataProperty>
- Enclosing interface:
CfnTable.IcebergMetadataProperty
@Stability(Stable)
public static final class CfnTable.IcebergMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.IcebergMetadataProperty>
A builder for
CfnTable.IcebergMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.icebergPartitionSpec(IResolvable icebergPartitionSpec) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergPartitionSpec()icebergPartitionSpec(CfnTable.IcebergPartitionSpecProperty icebergPartitionSpec) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergPartitionSpec()icebergSchema(IResolvable icebergSchema) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchema()icebergSchema(CfnTable.IcebergSchemaProperty icebergSchema) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchema()icebergSortOrder(IResolvable icebergSortOrder) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSortOrder()icebergSortOrder(CfnTable.IcebergSortOrderProperty icebergSortOrder) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSortOrder()tableProperties(Map<String, String> tableProperties) Sets the value ofCfnTable.IcebergMetadataProperty.getTableProperties()tableProperties(IResolvable tableProperties) Sets the value ofCfnTable.IcebergMetadataProperty.getTableProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
icebergSchema
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSchema(IResolvable icebergSchema) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchema()- Parameters:
icebergSchema- The schema for an Iceberg table. This parameter is required.- Returns:
this
-
icebergSchema
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSchema(CfnTable.IcebergSchemaProperty icebergSchema) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchema()- Parameters:
icebergSchema- The schema for an Iceberg table. This parameter is required.- Returns:
this
-
icebergPartitionSpec
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergPartitionSpec(IResolvable icebergPartitionSpec) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergPartitionSpec()- Parameters:
icebergPartitionSpec- Partition specification for an Iceberg table.- Returns:
this
-
icebergPartitionSpec
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergPartitionSpec(CfnTable.IcebergPartitionSpecProperty icebergPartitionSpec) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergPartitionSpec()- Parameters:
icebergPartitionSpec- Partition specification for an Iceberg table.- Returns:
this
-
icebergSortOrder
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSortOrder(IResolvable icebergSortOrder) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSortOrder()- Parameters:
icebergSortOrder- Sort order specification for an Iceberg table.- Returns:
this
-
icebergSortOrder
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSortOrder(CfnTable.IcebergSortOrderProperty icebergSortOrder) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSortOrder()- Parameters:
icebergSortOrder- Sort order specification for an Iceberg table.- Returns:
this
-
tableProperties
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder tableProperties(Map<String, String> tableProperties) Sets the value ofCfnTable.IcebergMetadataProperty.getTableProperties()- Parameters:
tableProperties- Iceberg table properties (e.g., format-version, write.parquet.compression-codec).- Returns:
this
-
tableProperties
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder tableProperties(IResolvable tableProperties) Sets the value ofCfnTable.IcebergMetadataProperty.getTableProperties()- Parameters:
tableProperties- Iceberg table properties (e.g., format-version, write.parquet.compression-codec).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.IcebergMetadataProperty>- Returns:
- a new instance of
CfnTable.IcebergMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-