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