Class CfnAnalysis.AttributeAggregationFunctionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.AttributeAggregationFunctionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.AttributeAggregationFunctionProperty>
- Enclosing interface:
CfnAnalysis.AttributeAggregationFunctionProperty
@Stability(Stable)
public static final class CfnAnalysis.AttributeAggregationFunctionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.AttributeAggregationFunctionProperty>
A builder for
CfnAnalysis.AttributeAggregationFunctionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.simpleAttributeAggregation
(String simpleAttributeAggregation) valueForMultipleValues
(String valueForMultipleValues)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
simpleAttributeAggregation
@Stability(Stable) public CfnAnalysis.AttributeAggregationFunctionProperty.Builder simpleAttributeAggregation(String simpleAttributeAggregation) - Parameters:
simpleAttributeAggregation
- The built-in aggregation functions for attributes.UNIQUE_VALUE
: Returns the unique value for a field, aggregated by the dimension fields.
- Returns:
this
-
valueForMultipleValues
@Stability(Stable) public CfnAnalysis.AttributeAggregationFunctionProperty.Builder valueForMultipleValues(String valueForMultipleValues) - Parameters:
valueForMultipleValues
- Used by theUNIQUE_VALUE
aggregation function. If there are multiple values for the field used by the aggregation, the value for this property will be returned instead. Defaults to '*'.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.AttributeAggregationFunctionProperty>
- Returns:
- a new instance of
CfnAnalysis.AttributeAggregationFunctionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-