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