Interface TopicNumericEqualityFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TopicNumericEqualityFilter.Builder,TopicNumericEqualityFilter>,SdkBuilder<TopicNumericEqualityFilter.Builder,TopicNumericEqualityFilter>,SdkPojo
- Enclosing class:
- TopicNumericEqualityFilter
public static interface TopicNumericEqualityFilter.Builder extends SdkPojo, CopyableBuilder<TopicNumericEqualityFilter.Builder,TopicNumericEqualityFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TopicNumericEqualityFilter.Builderaggregation(String aggregation)An aggregation function that specifies how to calculate the value of a numeric field for a topic.TopicNumericEqualityFilter.Builderaggregation(NamedFilterAggType aggregation)An aggregation function that specifies how to calculate the value of a numeric field for a topic.default TopicNumericEqualityFilter.Builderconstant(Consumer<TopicSingularFilterConstant.Builder> constant)The constant used in a numeric equality filter.TopicNumericEqualityFilter.Builderconstant(TopicSingularFilterConstant constant)The constant used in a numeric equality 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
-
constant
TopicNumericEqualityFilter.Builder constant(TopicSingularFilterConstant constant)
The constant used in a numeric equality filter.
- Parameters:
constant- The constant used in a numeric equality filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
constant
default TopicNumericEqualityFilter.Builder constant(Consumer<TopicSingularFilterConstant.Builder> constant)
The constant used in a numeric equality filter.
This is a convenience method that creates an instance of theTopicSingularFilterConstant.Builderavoiding the need to create one manually viaTopicSingularFilterConstant.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconstant(TopicSingularFilterConstant).- Parameters:
constant- a consumer that will call methods onTopicSingularFilterConstant.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
constant(TopicSingularFilterConstant)
-
aggregation
TopicNumericEqualityFilter.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
TopicNumericEqualityFilter.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
-
-