Class IcebergMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.alpha.IcebergMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IcebergMetadataProperty>
- Enclosing interface:
IcebergMetadataProperty
@Stability(Experimental)
public static final class IcebergMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<IcebergMetadataProperty>
A builder for
IcebergMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.icebergPartitionSpec(IcebergPartitionSpec icebergPartitionSpec) Sets the value ofIcebergMetadataProperty.getIcebergPartitionSpec()icebergSchema(IcebergSchemaProperty icebergSchema) Sets the value ofIcebergMetadataProperty.getIcebergSchema()icebergSortOrder(IcebergSortOrder icebergSortOrder) Sets the value ofIcebergMetadataProperty.getIcebergSortOrder()tableProperties(List<? extends TablePropertyEntry> tableProperties) Sets the value ofIcebergMetadataProperty.getTableProperties()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
icebergSchema
@Stability(Experimental) public IcebergMetadataProperty.Builder icebergSchema(IcebergSchemaProperty icebergSchema) Sets the value ofIcebergMetadataProperty.getIcebergSchema()- Parameters:
icebergSchema- Contains details about the schema for an Iceberg table. This parameter is required.- Returns:
this
-
icebergPartitionSpec
@Stability(Experimental) public IcebergMetadataProperty.Builder icebergPartitionSpec(IcebergPartitionSpec icebergPartitionSpec) Sets the value ofIcebergMetadataProperty.getIcebergPartitionSpec()- Parameters:
icebergPartitionSpec- The partition specification for the Iceberg table.- Returns:
this
-
icebergSortOrder
@Stability(Experimental) public IcebergMetadataProperty.Builder icebergSortOrder(IcebergSortOrder icebergSortOrder) Sets the value ofIcebergMetadataProperty.getIcebergSortOrder()- Parameters:
icebergSortOrder- The sort order for the Iceberg table.- Returns:
this
-
tableProperties
@Stability(Experimental) public IcebergMetadataProperty.Builder tableProperties(List<? extends TablePropertyEntry> tableProperties) Sets the value ofIcebergMetadataProperty.getTableProperties()- Parameters:
tableProperties- Custom properties for the Iceberg table. Each entry represents a key-value pair for Iceberg table configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IcebergMetadataProperty>- Returns:
- a new instance of
IcebergMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-