Interface CfnTemplate.PivotTableSortConfigurationProperty

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

@Stability(Stable) public static interface CfnTemplate.PivotTableSortConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The sort configuration for a PivotTableVisual .

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.*;
 PivotTableSortConfigurationProperty pivotTableSortConfigurationProperty = PivotTableSortConfigurationProperty.builder()
         .fieldSortOptions(List.of(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()
                                         .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())
                                 .build())
                         .dataPath(DataPathSortProperty.builder()
                                 .direction("direction")
                                 .sortPaths(List.of(DataPathValueProperty.builder()
                                         .dataPathType(DataPathTypeProperty.builder()
                                                 .pivotTableDataPathType("pivotTableDataPathType")
                                                 .build())
                                         .fieldId("fieldId")
                                         .fieldValue("fieldValue")
                                         .build()))
                                 .build())
                         .field(FieldSortProperty.builder()
                                 .direction("direction")
                                 .fieldId("fieldId")
                                 .build())
                         .build())
                 .build()))
         .build();
 

See Also: