Interface IcebergPartitionSpec.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IcebergPartitionSpec.Builder,,IcebergPartitionSpec> SdkBuilder<IcebergPartitionSpec.Builder,,IcebergPartitionSpec> SdkPojo
- Enclosing class:
IcebergPartitionSpec
@Mutable
@NotThreadSafe
public static interface IcebergPartitionSpec.Builder
extends SdkPojo, CopyableBuilder<IcebergPartitionSpec.Builder,IcebergPartitionSpec>
-
Method Summary
Modifier and TypeMethodDescriptionfields(Collection<IcebergPartitionField> fields) The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.fields(Consumer<IcebergPartitionField.Builder>... fields) The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.fields(IcebergPartitionField... fields) The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.The unique identifier for this partition specification within the Iceberg table's metadata history.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
fields
The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.
- Parameters:
fields- The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.
- Parameters:
fields- The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The list of partition fields that define how the table data should be partitioned, including source fields and their transformations.
This is a convenience method that creates an instance of theIcebergPartitionField.Builderavoiding the need to create one manually viaIcebergPartitionField.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofields(List<IcebergPartitionField>).- Parameters:
fields- a consumer that will call methods onIcebergPartitionField.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
specId
The unique identifier for this partition specification within the Iceberg table's metadata history.
- Parameters:
specId- The unique identifier for this partition specification within the Iceberg table's metadata history.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-