Interface CfnAnalysis.AggregationFunctionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnalysis.AggregationFunctionProperty.Jsii$Proxy
Enclosing class:
CfnAnalysis

@Stability(Stable) public static interface CfnAnalysis.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();
 
  • Method Details

    • getCategoricalAggregationFunction

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default String 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

      @Stability(Stable) @Nullable default Object getNumericalAggregationFunction()
      Aggregation for numerical values.
    • builder

      @Stability(Stable) static CfnAnalysis.AggregationFunctionProperty.Builder builder()
      Returns:
      a CfnAnalysis.AggregationFunctionProperty.Builder of CfnAnalysis.AggregationFunctionProperty