Class CfnTablePropsMixin.IcebergPartitionSpecProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3tables.CfnTablePropsMixin.IcebergPartitionSpecProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.IcebergPartitionSpecProperty>
- Enclosing interface:
CfnTablePropsMixin.IcebergPartitionSpecProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.IcebergPartitionSpecProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.IcebergPartitionSpecProperty>
A builder for
CfnTablePropsMixin.IcebergPartitionSpecProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTablePropsMixin.IcebergPartitionSpecProperty.getFields()fields(IResolvable fields) Sets the value ofCfnTablePropsMixin.IcebergPartitionSpecProperty.getFields()Sets the value ofCfnTablePropsMixin.IcebergPartitionSpecProperty.getSpecId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionSpecProperty.Builder fields(IResolvable fields) Sets the value ofCfnTablePropsMixin.IcebergPartitionSpecProperty.getFields()- Parameters:
fields- List of partition fields for an Iceberg table.- Returns:
this
-
fields
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionSpecProperty.Builder fields(List<? extends Object> fields) Sets the value ofCfnTablePropsMixin.IcebergPartitionSpecProperty.getFields()- Parameters:
fields- List of partition fields for an Iceberg table.- Returns:
this
-
specId
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionSpecProperty.Builder specId(Number specId) Sets the value ofCfnTablePropsMixin.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<CfnTablePropsMixin.IcebergPartitionSpecProperty>- Returns:
- a new instance of
CfnTablePropsMixin.IcebergPartitionSpecProperty - Throws:
NullPointerException- if any required attribute was not provided
-