Class CfnTemplate.NumericalAggregationFunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.NumericalAggregationFunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.NumericalAggregationFunctionProperty>
- Enclosing interface:
CfnTemplate.NumericalAggregationFunctionProperty
@Stability(Stable)
public static final class CfnTemplate.NumericalAggregationFunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.NumericalAggregationFunctionProperty>
A builder for
CfnTemplate.NumericalAggregationFunctionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.percentileAggregation(IResolvable percentileAggregation) percentileAggregation(CfnTemplate.PercentileAggregationProperty percentileAggregation) simpleNumericalAggregation(String simpleNumericalAggregation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
percentileAggregation
@Stability(Stable) public CfnTemplate.NumericalAggregationFunctionProperty.Builder percentileAggregation(IResolvable percentileAggregation) - Parameters:
percentileAggregation- An aggregation based on the percentile of values in a dimension or measure.- Returns:
this
-
percentileAggregation
@Stability(Stable) public CfnTemplate.NumericalAggregationFunctionProperty.Builder percentileAggregation(CfnTemplate.PercentileAggregationProperty percentileAggregation) - Parameters:
percentileAggregation- An aggregation based on the percentile of values in a dimension or measure.- Returns:
this
-
simpleNumericalAggregation
@Stability(Stable) public CfnTemplate.NumericalAggregationFunctionProperty.Builder simpleNumericalAggregation(String simpleNumericalAggregation) - Parameters:
simpleNumericalAggregation- Built-in aggregation functions for numerical values.SUM: The sum of a dimension or measure.AVERAGE: The average of a dimension or measure.MIN: The minimum value of a dimension or measure.MAX: The maximum value of a dimension or measure.COUNT: The count of a dimension or measure.DISTINCT_COUNT: The count of distinct values in a dimension or measure.VAR: The variance of a dimension or measure.VARP: The partitioned variance of a dimension or measure.STDEV: The standard deviation of a dimension or measure.STDEVP: The partitioned standard deviation of a dimension or measure.MEDIAN: The median value of a dimension or measure.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.NumericalAggregationFunctionProperty>- Returns:
- a new instance of
CfnTemplate.NumericalAggregationFunctionProperty - Throws:
NullPointerException- if any required attribute was not provided
-