Interface CfnTemplate.AggregationFunctionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.AggregationFunctionProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.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() .attributeAggregationFunction(AttributeAggregationFunctionProperty.builder() .simpleAttributeAggregation("simpleAttributeAggregation") .valueForMultipleValues("valueForMultipleValues") .build()) .categoricalAggregationFunction("categoricalAggregationFunction") .dateAggregationFunction("dateAggregationFunction") .numericalAggregationFunction(NumericalAggregationFunctionProperty.builder() .percentileAggregation(PercentileAggregationProperty.builder() .percentileValue(123) .build()) .simpleNumericalAggregation("simpleNumericalAggregation") .build()) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTemplate.AggregationFunctionProperty
static final class
An implementation forCfnTemplate.AggregationFunctionProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributeAggregationFunction
Aggregation for attributes.- See Also:
-
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.
- See Also:
-
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.
- See Also:
-
getNumericalAggregationFunction
Aggregation for numerical values.- See Also:
-
builder
-