Interface ColumnSort.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnSort.Builder,ColumnSort>,SdkBuilder<ColumnSort.Builder,ColumnSort>,SdkPojo
- Enclosing class:
- ColumnSort
public static interface ColumnSort.Builder extends SdkPojo, CopyableBuilder<ColumnSort.Builder,ColumnSort>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ColumnSort.BuilderaggregationFunction(Consumer<AggregationFunction.Builder> aggregationFunction)The aggregation function that is defined in the column sort.ColumnSort.BuilderaggregationFunction(AggregationFunction aggregationFunction)The aggregation function that is defined in the column sort.ColumnSort.Builderdirection(String direction)The sort direction.ColumnSort.Builderdirection(SortDirection direction)The sort direction.default ColumnSort.BuildersortBy(Consumer<ColumnIdentifier.Builder> sortBy)Sets the value of the SortBy property for this object.ColumnSort.BuildersortBy(ColumnIdentifier sortBy)Sets the value of the SortBy property for this object.-
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
-
sortBy
ColumnSort.Builder sortBy(ColumnIdentifier sortBy)
Sets the value of the SortBy property for this object.- Parameters:
sortBy- The new value for the SortBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ColumnSort.Builder sortBy(Consumer<ColumnIdentifier.Builder> sortBy)
Sets the value of the SortBy property for this object. 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 tosortBy(ColumnIdentifier).- Parameters:
sortBy- 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:
sortBy(ColumnIdentifier)
-
direction
ColumnSort.Builder direction(String direction)
The sort direction.
- Parameters:
direction- The sort direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortDirection,SortDirection
-
direction
ColumnSort.Builder direction(SortDirection direction)
The sort direction.
- Parameters:
direction- The sort direction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortDirection,SortDirection
-
aggregationFunction
ColumnSort.Builder aggregationFunction(AggregationFunction aggregationFunction)
The aggregation function that is defined in the column sort.
- Parameters:
aggregationFunction- The aggregation function that is defined in the column sort.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationFunction
default ColumnSort.Builder aggregationFunction(Consumer<AggregationFunction.Builder> aggregationFunction)
The aggregation function that is defined in the column sort.
This is a convenience method that creates an instance of theAggregationFunction.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)
-
-