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()icebergSchemaV2(IResolvable icebergSchemaV2) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchemaV2()icebergSchemaV2(CfnTable.IcebergSchemaV2Property icebergSchemaV2) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchemaV2()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
-
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
-
icebergSchema
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSchema(IResolvable icebergSchema) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchema()- Parameters:
icebergSchema- The schema for an Iceberg table.- 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.- Returns:
this
-
icebergSchemaV2
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSchemaV2(IResolvable icebergSchemaV2) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchemaV2()- Parameters:
icebergSchemaV2- Contains details about the schema version 2 (V2) for an Iceberg table that supports Apache Iceberg Nested Types (struct, list, map). Primitive types are also supported.- Returns:
this
-
icebergSchemaV2
@Stability(Stable) public CfnTable.IcebergMetadataProperty.Builder icebergSchemaV2(CfnTable.IcebergSchemaV2Property icebergSchemaV2) Sets the value ofCfnTable.IcebergMetadataProperty.getIcebergSchemaV2()- Parameters:
icebergSchemaV2- Contains details about the schema version 2 (V2) for an Iceberg table that supports Apache Iceberg Nested Types (struct, list, map). Primitive types are also supported.- 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
-