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