Interface CfnAnalysis.PivotFieldSortOptionsProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnAnalysis.PivotFieldSortOptionsProperty.Jsii$Proxy
- Enclosing class:
CfnAnalysis
@Stability(Stable)
public static interface CfnAnalysis.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()
.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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnAnalysis.PivotFieldSortOptionsPropertystatic final classAn implementation forCfnAnalysis.PivotFieldSortOptionsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The field ID for the field sort options.The sort by field for the field sort options.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldId
The field ID for the field sort options.- See Also:
-
getSortBy
The sort by field for the field sort options.Returns union: either
IResolvableorCfnAnalysis.PivotTableSortByProperty- See Also:
-
builder
-