Interface CfnAnalysis.KPISortConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.KPISortConfigurationProperty.Jsii$Proxy
- Enclosing class:
- CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.KPISortConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The sort configuration of a KPI visual.
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.*;
KPISortConfigurationProperty kPISortConfigurationProperty = KPISortConfigurationProperty.builder()
.trendGroupSort(List.of(FieldSortOptionsProperty.builder()
.columnSort(ColumnSortProperty.builder()
.direction("direction")
.sortBy(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
// the properties below are optional
.aggregationFunction(AggregationFunctionProperty.builder()
.categoricalAggregationFunction("categoricalAggregationFunction")
.dateAggregationFunction("dateAggregationFunction")
.numericalAggregationFunction(NumericalAggregationFunctionProperty.builder()
.percentileAggregation(PercentileAggregationProperty.builder()
.percentileValue(123)
.build())
.simpleNumericalAggregation("simpleNumericalAggregation")
.build())
.build())
.build())
.fieldSort(FieldSortProperty.builder()
.direction("direction")
.fieldId("fieldId")
.build())
.build()))
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalysis.KPISortConfigurationPropertystatic final classAn implementation forCfnAnalysis.KPISortConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getTrendGroupSort
The sort configuration of the trend group fields. -
builder
-