Class CfnTable.IcebergSortFieldProperty.Builder
java.lang.Object
software.amazon.awscdk.services.s3tables.CfnTable.IcebergSortFieldProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.IcebergSortFieldProperty>
- Enclosing interface:
CfnTable.IcebergSortFieldProperty
@Stability(Stable)
public static final class CfnTable.IcebergSortFieldProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.IcebergSortFieldProperty>
A builder for
CfnTable.IcebergSortFieldProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTable.IcebergSortFieldProperty.getDirection()Sets the value ofCfnTable.IcebergSortFieldProperty.getNullOrder()Sets the value ofCfnTable.IcebergSortFieldProperty.getSourceId()Sets the value ofCfnTable.IcebergSortFieldProperty.getTransform()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
direction
Sets the value ofCfnTable.IcebergSortFieldProperty.getDirection()- Parameters:
direction- Sort direction (asc or desc). This parameter is required.- Returns:
this
-
nullOrder
Sets the value ofCfnTable.IcebergSortFieldProperty.getNullOrder()- Parameters:
nullOrder- Null value ordering (nulls-first or nulls-last). This parameter is required.- Returns:
this
-
sourceId
Sets the value ofCfnTable.IcebergSortFieldProperty.getSourceId()- Parameters:
sourceId- The source column ID to sort on. This parameter is required.- Returns:
this
-
transform
Sets the value ofCfnTable.IcebergSortFieldProperty.getTransform()- Parameters:
transform- The sort transform function. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTable.IcebergSortFieldProperty>- Returns:
- a new instance of
CfnTable.IcebergSortFieldProperty - Throws:
NullPointerException- if any required attribute was not provided
-