Interface IcebergSortOrder.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergSortOrder.Builder,IcebergSortOrder>,SdkBuilder<IcebergSortOrder.Builder,IcebergSortOrder>,SdkPojo
- Enclosing class:
- IcebergSortOrder
@Mutable @NotThreadSafe public static interface IcebergSortOrder.Builder extends SdkPojo, CopyableBuilder<IcebergSortOrder.Builder,IcebergSortOrder>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IcebergSortOrder.Builderfields(Collection<IcebergSortField> fields)The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.IcebergSortOrder.Builderfields(Consumer<IcebergSortField.Builder>... fields)The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.IcebergSortOrder.Builderfields(IcebergSortField... fields)The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.IcebergSortOrder.BuilderorderId(Integer orderId)The unique identifier for this sort order specification within the Iceberg table's metadata.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
orderId
IcebergSortOrder.Builder orderId(Integer orderId)
The unique identifier for this sort order specification within the Iceberg table's metadata.
- Parameters:
orderId- The unique identifier for this sort order specification within the Iceberg table's metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
IcebergSortOrder.Builder fields(Collection<IcebergSortField> fields)
The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.
- Parameters:
fields- The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
IcebergSortOrder.Builder fields(IcebergSortField... fields)
The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.
- Parameters:
fields- The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
IcebergSortOrder.Builder fields(Consumer<IcebergSortField.Builder>... fields)
The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.
This is a convenience method that creates an instance of theIcebergSortField.Builderavoiding the need to create one manually viaIcebergSortField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fields(List.) - Parameters:
fields- a consumer that will call methods onIcebergSortField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#fields(java.util.Collection)
-
-