Class CfnDashboard.NumericalAggregationFunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.NumericalAggregationFunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.NumericalAggregationFunctionProperty>
- Enclosing interface:
- CfnDashboard.NumericalAggregationFunctionProperty
@Stability(Stable)
public static final class CfnDashboard.NumericalAggregationFunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.NumericalAggregationFunctionProperty>
A builder for
CfnDashboard.NumericalAggregationFunctionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.percentileAggregation(IResolvable percentileAggregation) percentileAggregation(CfnDashboard.PercentileAggregationProperty percentileAggregation) simpleNumericalAggregation(String simpleNumericalAggregation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
percentileAggregation
@Stability(Stable) public CfnDashboard.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 CfnDashboard.NumericalAggregationFunctionProperty.Builder percentileAggregation(CfnDashboard.PercentileAggregationProperty percentileAggregation) - Parameters:
percentileAggregation- An aggregation based on the percentile of values in a dimension or measure.- Returns:
this
-
simpleNumericalAggregation
@Stability(Stable) public CfnDashboard.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<CfnDashboard.NumericalAggregationFunctionProperty>- Returns:
- a new instance of
CfnDashboard.NumericalAggregationFunctionProperty - Throws:
NullPointerException- if any required attribute was not provided
-