Class CfnTemplate.AggregationFunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.AggregationFunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.AggregationFunctionProperty>
- Enclosing interface:
CfnTemplate.AggregationFunctionProperty
@Stability(Stable)
public static final class CfnTemplate.AggregationFunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.AggregationFunctionProperty>
A builder for
CfnTemplate.AggregationFunctionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeAggregationFunction(IResolvable attributeAggregationFunction) attributeAggregationFunction(CfnTemplate.AttributeAggregationFunctionProperty attributeAggregationFunction) build()Builds the configured instance.categoricalAggregationFunction(String categoricalAggregationFunction) dateAggregationFunction(String dateAggregationFunction) Sets the value ofCfnTemplate.AggregationFunctionProperty.getDateAggregationFunction()numericalAggregationFunction(IResolvable numericalAggregationFunction) numericalAggregationFunction(CfnTemplate.NumericalAggregationFunctionProperty numericalAggregationFunction)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeAggregationFunction
@Stability(Stable) public CfnTemplate.AggregationFunctionProperty.Builder attributeAggregationFunction(IResolvable attributeAggregationFunction) - Parameters:
attributeAggregationFunction- Aggregation for attributes.- Returns:
this
-
attributeAggregationFunction
@Stability(Stable) public CfnTemplate.AggregationFunctionProperty.Builder attributeAggregationFunction(CfnTemplate.AttributeAggregationFunctionProperty attributeAggregationFunction) - Parameters:
attributeAggregationFunction- Aggregation for attributes.- Returns:
this
-
categoricalAggregationFunction
@Stability(Stable) public CfnTemplate.AggregationFunctionProperty.Builder categoricalAggregationFunction(String categoricalAggregationFunction) - 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 CfnTemplate.AggregationFunctionProperty.Builder dateAggregationFunction(String dateAggregationFunction) Sets the value ofCfnTemplate.AggregationFunctionProperty.getDateAggregationFunction()- 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 CfnTemplate.AggregationFunctionProperty.Builder numericalAggregationFunction(IResolvable numericalAggregationFunction) - Parameters:
numericalAggregationFunction- Aggregation for numerical values.- Returns:
this
-
numericalAggregationFunction
@Stability(Stable) public CfnTemplate.AggregationFunctionProperty.Builder numericalAggregationFunction(CfnTemplate.NumericalAggregationFunctionProperty numericalAggregationFunction) - Parameters:
numericalAggregationFunction- Aggregation for numerical values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.AggregationFunctionProperty>- Returns:
- a new instance of
CfnTemplate.AggregationFunctionProperty - Throws:
NullPointerException- if any required attribute was not provided
-