Class CfnTemplatePropsMixin.AggregationFunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.AggregationFunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.AggregationFunctionProperty>
- Enclosing interface:
CfnTemplatePropsMixin.AggregationFunctionProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.AggregationFunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.AggregationFunctionProperty>
A builder for
CfnTemplatePropsMixin.AggregationFunctionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeAggregationFunction(CfnTemplatePropsMixin.AttributeAggregationFunctionProperty attributeAggregationFunction) attributeAggregationFunction(IResolvable attributeAggregationFunction) build()Builds the configured instance.categoricalAggregationFunction(String categoricalAggregationFunction) dateAggregationFunction(String dateAggregationFunction) numericalAggregationFunction(CfnTemplatePropsMixin.NumericalAggregationFunctionProperty numericalAggregationFunction) numericalAggregationFunction(IResolvable numericalAggregationFunction)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeAggregationFunction
@Stability(Stable) public CfnTemplatePropsMixin.AggregationFunctionProperty.Builder attributeAggregationFunction(IResolvable attributeAggregationFunction) Sets the value ofCfnTemplatePropsMixin.AggregationFunctionProperty.getAttributeAggregationFunction()- Parameters:
attributeAggregationFunction- Aggregation for attributes.- Returns:
this
-
attributeAggregationFunction
@Stability(Stable) public CfnTemplatePropsMixin.AggregationFunctionProperty.Builder attributeAggregationFunction(CfnTemplatePropsMixin.AttributeAggregationFunctionProperty attributeAggregationFunction) Sets the value ofCfnTemplatePropsMixin.AggregationFunctionProperty.getAttributeAggregationFunction()- Parameters:
attributeAggregationFunction- Aggregation for attributes.- Returns:
this
-
categoricalAggregationFunction
@Stability(Stable) public CfnTemplatePropsMixin.AggregationFunctionProperty.Builder categoricalAggregationFunction(String categoricalAggregationFunction) Sets the value ofCfnTemplatePropsMixin.AggregationFunctionProperty.getCategoricalAggregationFunction()- Parameters:
categoricalAggregationFunction- Aggregation for categorical values.COUNT: Aggregate by the total number of values, including duplicates.DISTINCT_COUNT: Aggregate by the total number of distinct values.
- Returns:
this
-
dateAggregationFunction
@Stability(Stable) public CfnTemplatePropsMixin.AggregationFunctionProperty.Builder dateAggregationFunction(String dateAggregationFunction) - Parameters:
dateAggregationFunction- Aggregation for date values.COUNT: Aggregate by the total number of values, including duplicates.DISTINCT_COUNT: Aggregate by the total number of distinct values.MIN: Select the smallest date value.MAX: Select the largest date value.
- Returns:
this
-
numericalAggregationFunction
@Stability(Stable) public CfnTemplatePropsMixin.AggregationFunctionProperty.Builder numericalAggregationFunction(IResolvable numericalAggregationFunction) Sets the value ofCfnTemplatePropsMixin.AggregationFunctionProperty.getNumericalAggregationFunction()- Parameters:
numericalAggregationFunction- Aggregation for numerical values.- Returns:
this
-
numericalAggregationFunction
@Stability(Stable) public CfnTemplatePropsMixin.AggregationFunctionProperty.Builder numericalAggregationFunction(CfnTemplatePropsMixin.NumericalAggregationFunctionProperty numericalAggregationFunction) Sets the value ofCfnTemplatePropsMixin.AggregationFunctionProperty.getNumericalAggregationFunction()- Parameters:
numericalAggregationFunction- Aggregation for numerical values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.AggregationFunctionProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.AggregationFunctionProperty - Throws:
NullPointerException- if any required attribute was not provided
-