Interface CfnDashboard.AggregationFunctionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.AggregationFunctionProperty.Jsii$Proxy
- Enclosing class:
- CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.AggregationFunctionProperty
extends software.amazon.jsii.JsiiSerializable
An aggregation function aggregates values from a dimension or measure.
This is a union type structure. For this structure to be valid, only one of the attributes can be defined.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.quicksight.*;
AggregationFunctionProperty aggregationFunctionProperty = AggregationFunctionProperty.builder()
.categoricalAggregationFunction("categoricalAggregationFunction")
.dateAggregationFunction("dateAggregationFunction")
.numericalAggregationFunction(NumericalAggregationFunctionProperty.builder()
.percentileAggregation(PercentileAggregationProperty.builder()
.percentileValue(123)
.build())
.simpleNumericalAggregation("simpleNumericalAggregation")
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboard.AggregationFunctionPropertystatic final classAn implementation forCfnDashboard.AggregationFunctionProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCategoricalAggregationFunction
Aggregation for categorical values.COUNT: Aggregate by the total number of values, including duplicates.DISTINCT_COUNT: Aggregate by the total number of distinct values.
-
getDateAggregationFunction
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.
-
getNumericalAggregationFunction
Aggregation for numerical values. -
builder
-