Interface AggregationSortConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AggregationSortConfiguration.Builder,AggregationSortConfiguration>,SdkBuilder<AggregationSortConfiguration.Builder,AggregationSortConfiguration>,SdkPojo
- Enclosing class:
- AggregationSortConfiguration
public static interface AggregationSortConfiguration.Builder extends SdkPojo, CopyableBuilder<AggregationSortConfiguration.Builder,AggregationSortConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AggregationSortConfiguration.BuilderaggregationFunction(Consumer<AggregationFunction.Builder> aggregationFunction)The function that aggregates the values inColumn.AggregationSortConfiguration.BuilderaggregationFunction(AggregationFunction aggregationFunction)The function that aggregates the values inColumn.default AggregationSortConfiguration.Buildercolumn(Consumer<ColumnIdentifier.Builder> column)The column that determines the sort order of aggregated values.AggregationSortConfiguration.Buildercolumn(ColumnIdentifier column)The column that determines the sort order of aggregated values.AggregationSortConfiguration.BuildersortDirection(String sortDirection)The sort direction of values.AggregationSortConfiguration.BuildersortDirection(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 Detail
-
column
AggregationSortConfiguration.Builder column(ColumnIdentifier 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
default AggregationSortConfiguration.Builder column(Consumer<ColumnIdentifier.Builder> column)
The column that determines the sort order of aggregated values.
This is a convenience method that creates an instance of theColumnIdentifier.Builderavoiding the need to create one manually viaColumnIdentifier.builder().When the
Consumercompletes,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:
column(ColumnIdentifier)
-
sortDirection
AggregationSortConfiguration.Builder sortDirection(String 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,SortDirection
-
-
sortDirection
AggregationSortConfiguration.Builder sortDirection(SortDirection 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,SortDirection
-
-
aggregationFunction
AggregationSortConfiguration.Builder aggregationFunction(AggregationFunction 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.Builderavoiding the need to create one manually viaAggregationFunction.builder().When the
Consumercompletes,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:
aggregationFunction(AggregationFunction)
-
-