Interface CfnDashboard.ColumnSortProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.ColumnSortProperty.Jsii$Proxy
- Enclosing class:
CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.ColumnSortProperty
extends software.amazon.jsii.JsiiSerializable
The sort configuration for a column that is not used in a field well.
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.*;
ColumnSortProperty columnSortProperty = 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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboard.ColumnSortPropertystatic final classAn implementation forCfnDashboard.ColumnSortProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe aggregation function that is defined in the column sort.The sort direction.Returns union: eitherIResolvableorCfnDashboard.ColumnIdentifierPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDirection
The sort direction.- See Also:
-
getSortBy
Returns union: eitherIResolvableorCfnDashboard.ColumnIdentifierProperty- See Also:
-
getAggregationFunction
The aggregation function that is defined in the column sort.Returns union: either
IResolvableorCfnDashboard.AggregationFunctionProperty- See Also:
-
builder
-