Class IcebergPartitionSpec.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.alpha.IcebergPartitionSpec.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<IcebergPartitionSpec>
- Enclosing interface:
IcebergPartitionSpec
@Stability(Experimental)
public static final class IcebergPartitionSpec.Builder
extends Object
implements software.amazon.jsii.Builder<IcebergPartitionSpec>
A builder for
IcebergPartitionSpec-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fields(List<? extends IcebergPartitionField> fields) Sets the value ofIcebergPartitionSpec.getFields()Sets the value ofIcebergPartitionSpec.getSpecId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fields
@Stability(Experimental) public IcebergPartitionSpec.Builder fields(List<? extends IcebergPartitionField> fields) Sets the value ofIcebergPartitionSpec.getFields()- Parameters:
fields- The list of partition fields. This parameter is required.- Returns:
this
-
specId
Sets the value ofIcebergPartitionSpec.getSpecId()- Parameters:
specId- The unique identifier for the partition specification.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IcebergPartitionSpec>- Returns:
- a new instance of
IcebergPartitionSpec - Throws:
NullPointerException- if any required attribute was not provided
-