Class CfnTable.IcebergPartitionSpecProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTable.IcebergPartitionSpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.IcebergPartitionSpecProperty>
- Enclosing interface:
CfnTable.IcebergPartitionSpecProperty
@Stability(Stable)
public static final class CfnTable.IcebergPartitionSpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.IcebergPartitionSpecProperty>
A builder for
CfnTable.IcebergPartitionSpecProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.IcebergPartitionSpecProperty.getFields()fields(IResolvable fields) Sets the value ofCfnTable.IcebergPartitionSpecProperty.getFields()Sets the value ofCfnTable.IcebergPartitionSpecProperty.getSpecId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
Sets the value ofCfnTable.IcebergPartitionSpecProperty.getFields()- Parameters:
fields- List of partition fields for an Iceberg table. This parameter is required.- Returns:
this
-
fields
@Stability(Stable) public CfnTable.IcebergPartitionSpecProperty.Builder fields(List<? extends Object> fields) Sets the value ofCfnTable.IcebergPartitionSpecProperty.getFields()- Parameters:
fields- List of partition fields for an Iceberg table. This parameter is required.- Returns:
this
-
specId
Sets the value ofCfnTable.IcebergPartitionSpecProperty.getSpecId()- Parameters:
specId- The partition spec ID (defaults to 0 if not specified).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.IcebergPartitionSpecProperty>- Returns:
- a new instance of
CfnTable.IcebergPartitionSpecProperty - Throws:
NullPointerException- if any required attribute was not provided
-