Class CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.s3tables.CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.IcebergPartitionFieldProperty>
- Enclosing interface:
CfnTablePropsMixin.IcebergPartitionFieldProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.IcebergPartitionFieldProperty>
A builder for
CfnTablePropsMixin.IcebergPartitionFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getFieldId()Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getName()Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getSourceId()Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getTransform()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder fieldId(Number fieldId) Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getFieldId()- Parameters:
fieldId- The partition field ID (auto-assigned starting from 1000 if not specified).- Returns:
this
-
name
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder name(String name) Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getName()- Parameters:
name- The name of the partition field.- Returns:
this
-
sourceId
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder sourceId(Number sourceId) Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getSourceId()- Parameters:
sourceId- The source column ID to partition on.- Returns:
this
-
transform
@Stability(Stable) public CfnTablePropsMixin.IcebergPartitionFieldProperty.Builder transform(String transform) Sets the value ofCfnTablePropsMixin.IcebergPartitionFieldProperty.getTransform()- Parameters:
transform- The partition transform function (identity, bucket[N], truncate[N], year, month, day, hour).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.IcebergPartitionFieldProperty>- Returns:
- a new instance of
CfnTablePropsMixin.IcebergPartitionFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-