Interface CfnDashboard.PivotFieldSortOptionsProperty

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

@Stability(Stable) public static interface CfnDashboard.PivotFieldSortOptionsProperty extends software.amazon.jsii.JsiiSerializable
The field sort options for a pivot table sort configuration.

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.*;
 PivotFieldSortOptionsProperty pivotFieldSortOptionsProperty = PivotFieldSortOptionsProperty.builder()
         .fieldId("fieldId")
         .sortBy(PivotTableSortByProperty.builder()
                 .column(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())
                 .dataPath(DataPathSortProperty.builder()
                         .direction("direction")
                         .sortPaths(List.of(DataPathValueProperty.builder()
                                 .fieldId("fieldId")
                                 .fieldValue("fieldValue")
                                 .build()))
                         .build())
                 .field(FieldSortProperty.builder()
                         .direction("direction")
                         .fieldId("fieldId")
                         .build())
                 .build())
         .build();