Class CfnDashboard.AggregationSortConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.AggregationSortConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.AggregationSortConfigurationProperty>
- Enclosing interface:
CfnDashboard.AggregationSortConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.AggregationSortConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.AggregationSortConfigurationProperty>
A builder for
CfnDashboard.AggregationSortConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregationFunction
(IResolvable aggregationFunction) aggregationFunction
(CfnDashboard.AggregationFunctionProperty aggregationFunction) build()
Builds the configured instance.column
(IResolvable column) Sets the value ofCfnDashboard.AggregationSortConfigurationProperty.getColumn()
Sets the value ofCfnDashboard.AggregationSortConfigurationProperty.getColumn()
sortDirection
(String sortDirection) Sets the value ofCfnDashboard.AggregationSortConfigurationProperty.getSortDirection()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregationFunction
@Stability(Stable) public CfnDashboard.AggregationSortConfigurationProperty.Builder aggregationFunction(IResolvable aggregationFunction) - Parameters:
aggregationFunction
- The function that aggregates the values inColumn
. This parameter is required.- Returns:
this
-
aggregationFunction
@Stability(Stable) public CfnDashboard.AggregationSortConfigurationProperty.Builder aggregationFunction(CfnDashboard.AggregationFunctionProperty aggregationFunction) - Parameters:
aggregationFunction
- The function that aggregates the values inColumn
. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnDashboard.AggregationSortConfigurationProperty.Builder column(IResolvable column) Sets the value ofCfnDashboard.AggregationSortConfigurationProperty.getColumn()
- Parameters:
column
- The column that determines the sort order of aggregated values. This parameter is required.- Returns:
this
-
column
@Stability(Stable) public CfnDashboard.AggregationSortConfigurationProperty.Builder column(CfnDashboard.ColumnIdentifierProperty column) Sets the value ofCfnDashboard.AggregationSortConfigurationProperty.getColumn()
- Parameters:
column
- The column that determines the sort order of aggregated values. This parameter is required.- Returns:
this
-
sortDirection
@Stability(Stable) public CfnDashboard.AggregationSortConfigurationProperty.Builder sortDirection(String sortDirection) Sets the value ofCfnDashboard.AggregationSortConfigurationProperty.getSortDirection()
- Parameters:
sortDirection
- The sort direction of values. This parameter is required.ASC
: Sort in ascending order.DESC
: Sort in descending order.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.AggregationSortConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.AggregationSortConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-