Interface AggregationSortConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AggregationSortConfiguration.Builder,
,AggregationSortConfiguration> SdkBuilder<AggregationSortConfiguration.Builder,
,AggregationSortConfiguration> SdkPojo
- Enclosing class:
AggregationSortConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionaggregationFunction
(Consumer<AggregationFunction.Builder> aggregationFunction) The function that aggregates the values inColumn
.aggregationFunction
(AggregationFunction aggregationFunction) The function that aggregates the values inColumn
.column
(Consumer<ColumnIdentifier.Builder> column) The column that determines the sort order of aggregated values.column
(ColumnIdentifier column) The column that determines the sort order of aggregated values.sortDirection
(String sortDirection) The sort direction of values.sortDirection
(SortDirection sortDirection) The sort direction of values.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, sdkFields
-
Method Details
-
column
The column that determines the sort order of aggregated values.
- Parameters:
column
- The column that determines the sort order of aggregated values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
column
The column that determines the sort order of aggregated values.
This is a convenience method that creates an instance of theColumnIdentifier.Builder
avoiding the need to create one manually viaColumnIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumn(ColumnIdentifier)
.- Parameters:
column
- a consumer that will call methods onColumnIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sortDirection
The sort direction of values.
-
ASC
: Sort in ascending order. -
DESC
: Sort in descending order.
- Parameters:
sortDirection
- The sort direction of values.-
ASC
: Sort in ascending order. -
DESC
: Sort in descending order.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
sortDirection
The sort direction of values.
-
ASC
: Sort in ascending order. -
DESC
: Sort in descending order.
- Parameters:
sortDirection
- The sort direction of values.-
ASC
: Sort in ascending order. -
DESC
: Sort in descending order.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
aggregationFunction
The function that aggregates the values in
Column
.- Parameters:
aggregationFunction
- The function that aggregates the values inColumn
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationFunction
default AggregationSortConfiguration.Builder aggregationFunction(Consumer<AggregationFunction.Builder> aggregationFunction) The function that aggregates the values in
This is a convenience method that creates an instance of theColumn
.AggregationFunction.Builder
avoiding the need to create one manually viaAggregationFunction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaggregationFunction(AggregationFunction)
.- Parameters:
aggregationFunction
- a consumer that will call methods onAggregationFunction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-