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