Interface CfnTemplate.LineChartSortConfigurationProperty

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

@Stability(Stable) public static interface CfnTemplate.LineChartSortConfigurationProperty extends software.amazon.jsii.JsiiSerializable
The sort configuration of a line chart.

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.*;
 LineChartSortConfigurationProperty lineChartSortConfigurationProperty = LineChartSortConfigurationProperty.builder()
         .categoryItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder()
                 .itemsLimit(123)
                 .otherCategories("otherCategories")
                 .build())
         .categorySort(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()))
         .colorItemsLimitConfiguration(ItemsLimitConfigurationProperty.builder()
                 .itemsLimit(123)
                 .otherCategories("otherCategories")
                 .build())
         .smallMultiplesLimitConfiguration(ItemsLimitConfigurationProperty.builder()
                 .itemsLimit(123)
                 .otherCategories("otherCategories")
                 .build())
         .smallMultiplesSort(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();
 
  • Method Details

    • getCategoryItemsLimitConfiguration

      @Stability(Stable) @Nullable default Object getCategoryItemsLimitConfiguration()
      The limit on the number of categories that are displayed in a line chart.
    • getCategorySort

      @Stability(Stable) @Nullable default Object getCategorySort()
      The sort configuration of the category fields.
    • getColorItemsLimitConfiguration

      @Stability(Stable) @Nullable default Object getColorItemsLimitConfiguration()
      The limit on the number of lines that are displayed in a line chart.
    • getSmallMultiplesLimitConfiguration

      @Stability(Stable) @Nullable default Object getSmallMultiplesLimitConfiguration()
      The limit on the number of small multiples panels that are displayed.
    • getSmallMultiplesSort

      @Stability(Stable) @Nullable default Object getSmallMultiplesSort()
      The sort configuration of the small multiples field.
    • builder

      @Stability(Stable) static CfnTemplate.LineChartSortConfigurationProperty.Builder builder()
      Returns:
      a CfnTemplate.LineChartSortConfigurationProperty.Builder of CfnTemplate.LineChartSortConfigurationProperty