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
Modifier and TypeMethodDescriptionfields
(Collection<IcebergSortField> fields) The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.fields
(Consumer<IcebergSortField.Builder>... fields) The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.fields
(IcebergSortField... fields) The list of fields and their sort directions that define the ordering criteria for the Iceberg table data.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 Details
-
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
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
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
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.Builder
avoiding the need to create one manually viaIcebergSortField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<IcebergSortField>)
.- 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:
-