Interface TopicNumericRangeFilter.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicNumericRangeFilter.Builder,
,TopicNumericRangeFilter> SdkBuilder<TopicNumericRangeFilter.Builder,
,TopicNumericRangeFilter> SdkPojo
- Enclosing class:
TopicNumericRangeFilter
-
Method Summary
Modifier and TypeMethodDescriptionaggregation
(String 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
.aggregation
(NamedFilterAggType 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
.default TopicNumericRangeFilter.Builder
constant
(Consumer<TopicRangeFilterConstant.Builder> constant) The constant used in a numeric range filter.constant
(TopicRangeFilterConstant constant) The constant used in a numeric range filter.A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
constant
The constant used in a numeric range filter.
- Parameters:
constant
- The constant used in a numeric range filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constant
default TopicNumericRangeFilter.Builder constant(Consumer<TopicRangeFilterConstant.Builder> constant) The constant used in a numeric range filter.
This is a convenience method that creates an instance of theTopicRangeFilterConstant.Builder
avoiding the need to create one manually viaTopicRangeFilterConstant.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconstant(TopicRangeFilterConstant)
.- Parameters:
constant
- a consumer that will call methods onTopicRangeFilterConstant.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregation
An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are
NO_AGGREGATION
,SUM
,AVERAGE
,COUNT
,DISTINCT_COUNT
,MAX
,MEDIAN
,MIN
,STDEV
,STDEVP
,VAR
, andVARP
.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregation
An aggregation function that specifies how to calculate the value of a numeric field for a topic, Valid values for this structure are
NO_AGGREGATION
,SUM
,AVERAGE
,COUNT
,DISTINCT_COUNT
,MAX
,MEDIAN
,MIN
,STDEV
,STDEVP
,VAR
, andVARP
.- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-