Interface DataLakeDatasetPartitionSpec.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataLakeDatasetPartitionSpec.Builder,
,DataLakeDatasetPartitionSpec> SdkBuilder<DataLakeDatasetPartitionSpec.Builder,
,DataLakeDatasetPartitionSpec> SdkPojo
- Enclosing class:
DataLakeDatasetPartitionSpec
@Mutable
@NotThreadSafe
public static interface DataLakeDatasetPartitionSpec.Builder
extends SdkPojo, CopyableBuilder<DataLakeDatasetPartitionSpec.Builder,DataLakeDatasetPartitionSpec>
-
Method Summary
Modifier and TypeMethodDescriptionThe fields on which to partition a dataset.fields
(Consumer<DataLakeDatasetPartitionField.Builder>... fields) The fields on which to partition a dataset.fields
(DataLakeDatasetPartitionField... fields) The fields on which to partition a dataset.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
-
fields
The fields on which to partition a dataset. The partitions will be applied hierarchically based on the order of this list.
- Parameters:
fields
- The fields on which to partition a dataset. The partitions will be applied hierarchically based on the order of this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
The fields on which to partition a dataset. The partitions will be applied hierarchically based on the order of this list.
- Parameters:
fields
- The fields on which to partition a dataset. The partitions will be applied hierarchically based on the order of this list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
DataLakeDatasetPartitionSpec.Builder fields(Consumer<DataLakeDatasetPartitionField.Builder>... fields) The fields on which to partition a dataset. The partitions will be applied hierarchically based on the order of this list.
This is a convenience method that creates an instance of theDataLakeDatasetPartitionField.Builder
avoiding the need to create one manually viaDataLakeDatasetPartitionField.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofields(List<DataLakeDatasetPartitionField>)
.- Parameters:
fields
- a consumer that will call methods onDataLakeDatasetPartitionField.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-