Interface CfnDashboard.PivotTableSortByProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.PivotTableSortByProperty.Jsii$Proxy
- Enclosing class:
CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.PivotTableSortByProperty
extends software.amazon.jsii.JsiiSerializable
The sort by field for the field sort options.
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.*;
PivotTableSortByProperty pivotTableSortByProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboard.PivotTableSortByPropertystatic final classAn implementation forCfnDashboard.PivotTableSortByProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe column sort (field id, direction) for the pivot table sort by options.default ObjectThe data path sort (data path value, direction) for the pivot table sort by options.default ObjectgetField()The field sort (field id, direction) for the pivot table sort by options.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getColumn
The column sort (field id, direction) for the pivot table sort by options.Returns union: either
IResolvableorCfnDashboard.ColumnSortProperty- See Also:
-
getDataPath
The data path sort (data path value, direction) for the pivot table sort by options.Returns union: either
IResolvableorCfnDashboard.DataPathSortProperty- See Also:
-
getField
The field sort (field id, direction) for the pivot table sort by options.Returns union: either
IResolvableorCfnDashboard.FieldSortProperty- See Also:
-
builder
-