Interface TopicNumericRangeFilter.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TopicNumericRangeFilter.Builder,TopicNumericRangeFilter>
,SdkBuilder<TopicNumericRangeFilter.Builder,TopicNumericRangeFilter>
,SdkPojo
- Enclosing class:
- TopicNumericRangeFilter
public static interface TopicNumericRangeFilter.Builder extends SdkPojo, CopyableBuilder<TopicNumericRangeFilter.Builder,TopicNumericRangeFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TopicNumericRangeFilter.Builder
aggregation(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
.TopicNumericRangeFilter.Builder
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.TopicNumericRangeFilter.Builder
constant(TopicRangeFilterConstant constant)
The constant used in a numeric range filter.TopicNumericRangeFilter.Builder
inclusive(Boolean inclusive)
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 Detail
-
inclusive
TopicNumericRangeFilter.Builder inclusive(Boolean 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
TopicNumericRangeFilter.Builder constant(TopicRangeFilterConstant 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:
constant(TopicRangeFilterConstant)
-
aggregation
TopicNumericRangeFilter.Builder aggregation(String 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:
NamedFilterAggType
,NamedFilterAggType
-
aggregation
TopicNumericRangeFilter.Builder 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 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:
NamedFilterAggType
,NamedFilterAggType
-
-