Class CfnDashboard.ColumnSortProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.ColumnSortProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.ColumnSortProperty>
- Enclosing interface:
CfnDashboard.ColumnSortProperty
@Stability(Stable)
public static final class CfnDashboard.ColumnSortProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.ColumnSortProperty>
A builder for
CfnDashboard.ColumnSortProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregationFunction
(IResolvable aggregationFunction) Sets the value ofCfnDashboard.ColumnSortProperty.getAggregationFunction()
aggregationFunction
(CfnDashboard.AggregationFunctionProperty aggregationFunction) Sets the value ofCfnDashboard.ColumnSortProperty.getAggregationFunction()
build()
Builds the configured instance.Sets the value ofCfnDashboard.ColumnSortProperty.getDirection()
sortBy
(IResolvable sortBy) Sets the value ofCfnDashboard.ColumnSortProperty.getSortBy()
Sets the value ofCfnDashboard.ColumnSortProperty.getSortBy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
direction
Sets the value ofCfnDashboard.ColumnSortProperty.getDirection()
- Parameters:
direction
- The sort direction. This parameter is required.- Returns:
this
-
sortBy
Sets the value ofCfnDashboard.ColumnSortProperty.getSortBy()
- Parameters:
sortBy
- the value to be set. This parameter is required.- Returns:
this
-
sortBy
@Stability(Stable) public CfnDashboard.ColumnSortProperty.Builder sortBy(CfnDashboard.ColumnIdentifierProperty sortBy) Sets the value ofCfnDashboard.ColumnSortProperty.getSortBy()
- Parameters:
sortBy
- the value to be set. This parameter is required.- Returns:
this
-
aggregationFunction
@Stability(Stable) public CfnDashboard.ColumnSortProperty.Builder aggregationFunction(IResolvable aggregationFunction) Sets the value ofCfnDashboard.ColumnSortProperty.getAggregationFunction()
- Parameters:
aggregationFunction
- The aggregation function that is defined in the column sort.- Returns:
this
-
aggregationFunction
@Stability(Stable) public CfnDashboard.ColumnSortProperty.Builder aggregationFunction(CfnDashboard.AggregationFunctionProperty aggregationFunction) Sets the value ofCfnDashboard.ColumnSortProperty.getAggregationFunction()
- Parameters:
aggregationFunction
- The aggregation function that is defined in the column sort.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.ColumnSortProperty>
- Returns:
- a new instance of
CfnDashboard.ColumnSortProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-