Interface AggregationFunction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AggregationFunction.Builder,
,AggregationFunction> SdkBuilder<AggregationFunction.Builder,
,AggregationFunction> SdkPojo
- Enclosing class:
AggregationFunction
-
Method Summary
Modifier and TypeMethodDescriptiondefault AggregationFunction.Builder
attributeAggregationFunction
(Consumer<AttributeAggregationFunction.Builder> attributeAggregationFunction) Aggregation for attributes.attributeAggregationFunction
(AttributeAggregationFunction attributeAggregationFunction) Aggregation for attributes.categoricalAggregationFunction
(String categoricalAggregationFunction) Aggregation for categorical values.categoricalAggregationFunction
(CategoricalAggregationFunction categoricalAggregationFunction) Aggregation for categorical values.dateAggregationFunction
(String dateAggregationFunction) Aggregation for date values.dateAggregationFunction
(DateAggregationFunction dateAggregationFunction) Aggregation for date values.default AggregationFunction.Builder
numericalAggregationFunction
(Consumer<NumericalAggregationFunction.Builder> numericalAggregationFunction) Aggregation for numerical values.numericalAggregationFunction
(NumericalAggregationFunction numericalAggregationFunction) Aggregation for numerical 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 Details
-
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.Builder
avoiding the need to create one manually viaNumericalAggregationFunction.builder()
.When the
Consumer
completes,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:
-
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
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:
-
-
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
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:
-
-
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.Builder
avoiding the need to create one manually viaAttributeAggregationFunction.builder()
.When the
Consumer
completes,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:
-