Class CfnTopic.TopicNumericRangeFilterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTopic.TopicNumericRangeFilterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopic.TopicNumericRangeFilterProperty>
- Enclosing interface:
CfnTopic.TopicNumericRangeFilterProperty
@Stability(Stable)
public static final class CfnTopic.TopicNumericRangeFilterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopic.TopicNumericRangeFilterProperty>
A builder for
CfnTopic.TopicNumericRangeFilterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaggregation
(String aggregation) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getAggregation()
build()
Builds the configured instance.constant
(IResolvable constant) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getConstant()
Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getConstant()
Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getInclusive()
inclusive
(IResolvable inclusive) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getInclusive()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aggregation
@Stability(Stable) public CfnTopic.TopicNumericRangeFilterProperty.Builder aggregation(String aggregation) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.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.TopicNumericRangeFilterProperty.Builder constant(IResolvable constant) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getConstant()
- Parameters:
constant
- The constant used in a numeric range filter.- Returns:
this
-
constant
@Stability(Stable) public CfnTopic.TopicNumericRangeFilterProperty.Builder constant(CfnTopic.TopicRangeFilterConstantProperty constant) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getConstant()
- Parameters:
constant
- The constant used in a numeric range filter.- Returns:
this
-
inclusive
@Stability(Stable) public CfnTopic.TopicNumericRangeFilterProperty.Builder inclusive(Boolean inclusive) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getInclusive()
- Parameters:
inclusive
- A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.- Returns:
this
-
inclusive
@Stability(Stable) public CfnTopic.TopicNumericRangeFilterProperty.Builder inclusive(IResolvable inclusive) Sets the value ofCfnTopic.TopicNumericRangeFilterProperty.getInclusive()
- Parameters:
inclusive
- A Boolean value that indicates whether the endpoints of the numeric range are included in the filter. If set to true, topics whose numeric field value is equal to the endpoint values will be included in the filter. If set to false, topics whose numeric field value is equal to the endpoint values will be excluded from the filter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTopic.TopicNumericRangeFilterProperty>
- Returns:
- a new instance of
CfnTopic.TopicNumericRangeFilterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-