Interface Aggregation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Aggregation.Builder,,Aggregation> SdkBuilder<Aggregation.Builder,,Aggregation> SdkPojo
- Enclosing class:
Aggregation
@Mutable
@NotThreadSafe
public static interface Aggregation.Builder
extends SdkPojo, CopyableBuilder<Aggregation.Builder,Aggregation>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Aggregation.BuilderaggregationFunction(Consumer<DataPrepAggregationFunction.Builder> aggregationFunction) The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAXaggregationFunction(DataPrepAggregationFunction aggregationFunction) The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAXnewColumnId(String newColumnId) A unique identifier for the new column that will contain the aggregated values.newColumnName(String newColumnName) The name for the new column that will contain the aggregated values.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
-
aggregationFunction
The aggregation function to apply, such as
SUM,COUNT,AVERAGE,MIN,MAX- Parameters:
aggregationFunction- The aggregation function to apply, such asSUM,COUNT,AVERAGE,MIN,MAX- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aggregationFunction
default Aggregation.Builder aggregationFunction(Consumer<DataPrepAggregationFunction.Builder> aggregationFunction) The aggregation function to apply, such as
This is a convenience method that creates an instance of theSUM,COUNT,AVERAGE,MIN,MAXDataPrepAggregationFunction.Builderavoiding the need to create one manually viaDataPrepAggregationFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaggregationFunction(DataPrepAggregationFunction).- Parameters:
aggregationFunction- a consumer that will call methods onDataPrepAggregationFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
newColumnName
The name for the new column that will contain the aggregated values.
- Parameters:
newColumnName- The name for the new column that will contain the aggregated values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newColumnId
A unique identifier for the new column that will contain the aggregated values.
- Parameters:
newColumnId- A unique identifier for the new column that will contain the aggregated values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-