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