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