Interface ColumnSort.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ColumnSort.Builder,,ColumnSort> SdkBuilder<ColumnSort.Builder,,ColumnSort> SdkPojo
- Enclosing class:
ColumnSort
@Mutable
@NotThreadSafe
public static interface ColumnSort.Builder
extends SdkPojo, CopyableBuilder<ColumnSort.Builder,ColumnSort>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ColumnSort.BuilderaggregationFunction(Consumer<AggregationFunction.Builder> aggregationFunction) The aggregation function that is defined in the column sort.aggregationFunction(AggregationFunction aggregationFunction) The aggregation function that is defined in the column sort.The sort direction.direction(SortDirection direction) The sort direction.default ColumnSort.BuildersortBy(Consumer<ColumnIdentifier.Builder> sortBy) Sets the value of the SortBy property for this object.sortBy(ColumnIdentifier sortBy) Sets the value of the SortBy property for this object.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
-
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
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:
-
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:
-
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:
-
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:
-