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