Interface CfnTemplate.PieChartSortConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTemplate.PieChartSortConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnTemplate
@Stability(Stable)
public static interface CfnTemplate.PieChartSortConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The sort configuration of a pie 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.*;
PieChartSortConfigurationProperty pieChartSortConfigurationProperty = PieChartSortConfigurationProperty.builder()
.categoryItemsLimit(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()
.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())
.fieldSort(FieldSortProperty.builder()
.direction("direction")
.fieldId("fieldId")
.build())
.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()
.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())
.fieldSort(FieldSortProperty.builder()
.direction("direction")
.fieldId("fieldId")
.build())
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnTemplate.PieChartSortConfigurationPropertystatic final classAn implementation forCfnTemplate.PieChartSortConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe limit on the number of categories that are displayed in a pie chart.default ObjectThe sort configuration of the category fields.default ObjectThe limit on the number of small multiples panels that are displayed.default ObjectThe sort configuration of the small multiples field.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCategoryItemsLimit
The limit on the number of categories that are displayed in a pie chart.Returns union: either
IResolvableorCfnTemplate.ItemsLimitConfigurationProperty- See Also:
-
getCategorySort
The sort configuration of the category fields.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.FieldSortOptionsProperty>- See Also:
-
getSmallMultiplesLimitConfiguration
The limit on the number of small multiples panels that are displayed.Returns union: either
IResolvableorCfnTemplate.ItemsLimitConfigurationProperty- See Also:
-
getSmallMultiplesSort
The sort configuration of the small multiples field.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnTemplate.FieldSortOptionsProperty>- See Also:
-
builder
-