Class CfnTopic.TopicNumericEqualityFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicNumericEqualityFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicNumericEqualityFilterProperty>
- Enclosing interface:
CfnTopic.TopicNumericEqualityFilterProperty
@Stability(Stable)
public static final class CfnTopic.TopicNumericEqualityFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicNumericEqualityFilterProperty>
A builder for
CfnTopic.TopicNumericEqualityFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregation
(String aggregation) Sets the value ofCfnTopic.TopicNumericEqualityFilterProperty.getAggregation()
build()
Builds the configured instance.constant
(IResolvable constant) Sets the value ofCfnTopic.TopicNumericEqualityFilterProperty.getConstant()
Sets the value ofCfnTopic.TopicNumericEqualityFilterProperty.getConstant()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregation
@Stability(Stable) public CfnTopic.TopicNumericEqualityFilterProperty.Builder aggregation(String aggregation) Sets the value ofCfnTopic.TopicNumericEqualityFilterProperty.getAggregation()
- Parameters:
aggregation
- An aggregation function that specifies how to calculate the value of a numeric field for a topic. Valid values for this structure areNO_AGGREGATION
,SUM
,AVERAGE
,COUNT
,DISTINCT_COUNT
,MAX
,MEDIAN
,MIN
,STDEV
,STDEVP
,VAR
, andVARP
.- Returns:
this
-
constant
@Stability(Stable) public CfnTopic.TopicNumericEqualityFilterProperty.Builder constant(IResolvable constant) Sets the value ofCfnTopic.TopicNumericEqualityFilterProperty.getConstant()
- Parameters:
constant
- The constant used in a numeric equality filter.- Returns:
this
-
constant
@Stability(Stable) public CfnTopic.TopicNumericEqualityFilterProperty.Builder constant(CfnTopic.TopicSingularFilterConstantProperty constant) Sets the value ofCfnTopic.TopicNumericEqualityFilterProperty.getConstant()
- Parameters:
constant
- The constant used in a numeric equality filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicNumericEqualityFilterProperty>
- Returns:
- a new instance of
CfnTopic.TopicNumericEqualityFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-