Interface AggregationFunction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AggregationFunction.Builder,AggregationFunction>,SdkBuilder<AggregationFunction.Builder,AggregationFunction>,SdkPojo
- Enclosing class:
- AggregationFunction
public static interface AggregationFunction.Builder extends SdkPojo, CopyableBuilder<AggregationFunction.Builder,AggregationFunction>
-
-
Method Summary
-
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
-
numericalAggregationFunction
AggregationFunction.Builder numericalAggregationFunction(NumericalAggregationFunction numericalAggregationFunction)
Aggregation for numerical values.
- Parameters:
numericalAggregationFunction- Aggregation for numerical values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numericalAggregationFunction
default AggregationFunction.Builder numericalAggregationFunction(Consumer<NumericalAggregationFunction.Builder> numericalAggregationFunction)
Aggregation for numerical values.
This is a convenience method that creates an instance of theNumericalAggregationFunction.Builderavoiding the need to create one manually viaNumericalAggregationFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonumericalAggregationFunction(NumericalAggregationFunction).- Parameters:
numericalAggregationFunction- a consumer that will call methods onNumericalAggregationFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
numericalAggregationFunction(NumericalAggregationFunction)
-
categoricalAggregationFunction
AggregationFunction.Builder categoricalAggregationFunction(String categoricalAggregationFunction)
Aggregation for categorical values.
-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values.
- Parameters:
categoricalAggregationFunction- Aggregation for categorical values.-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CategoricalAggregationFunction,CategoricalAggregationFunction
-
-
categoricalAggregationFunction
AggregationFunction.Builder categoricalAggregationFunction(CategoricalAggregationFunction categoricalAggregationFunction)
Aggregation for categorical values.
-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values.
- Parameters:
categoricalAggregationFunction- Aggregation for categorical values.-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CategoricalAggregationFunction,CategoricalAggregationFunction
-
-
dateAggregationFunction
AggregationFunction.Builder dateAggregationFunction(String dateAggregationFunction)
Aggregation for date values.
-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values. -
MIN: Select the smallest date value. -
MAX: Select the largest date value.
- Parameters:
dateAggregationFunction- Aggregation for date values.-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values. -
MIN: Select the smallest date value. -
MAX: Select the largest date value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DateAggregationFunction,DateAggregationFunction
-
-
dateAggregationFunction
AggregationFunction.Builder dateAggregationFunction(DateAggregationFunction dateAggregationFunction)
Aggregation for date values.
-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values. -
MIN: Select the smallest date value. -
MAX: Select the largest date value.
- Parameters:
dateAggregationFunction- Aggregation for date values.-
COUNT: Aggregate by the total number of values, including duplicates. -
DISTINCT_COUNT: Aggregate by the total number of distinct values. -
MIN: Select the smallest date value. -
MAX: Select the largest date value.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DateAggregationFunction,DateAggregationFunction
-
-
attributeAggregationFunction
AggregationFunction.Builder attributeAggregationFunction(AttributeAggregationFunction attributeAggregationFunction)
Aggregation for attributes.
- Parameters:
attributeAggregationFunction- Aggregation for attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeAggregationFunction
default AggregationFunction.Builder attributeAggregationFunction(Consumer<AttributeAggregationFunction.Builder> attributeAggregationFunction)
Aggregation for attributes.
This is a convenience method that creates an instance of theAttributeAggregationFunction.Builderavoiding the need to create one manually viaAttributeAggregationFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattributeAggregationFunction(AttributeAggregationFunction).- Parameters:
attributeAggregationFunction- a consumer that will call methods onAttributeAggregationFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
attributeAggregationFunction(AttributeAggregationFunction)
-
-