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