@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicNumericRangeFilter extends Object implements Serializable, Cloneable, StructuredPojo
A filter that filters topics based on the value of a numeric field. The filter includes only topics whose numeric field value falls within the specified range.
Constructor and Description |
---|
TopicNumericRangeFilter() |
Modifier and Type | Method and Description |
---|---|
TopicNumericRangeFilter |
clone() |
boolean |
equals(Object obj) |
String |
getAggregation()
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 , and VARP . |
TopicRangeFilterConstant |
getConstant()
The constant used in a numeric range filter.
|
Boolean |
getInclusive()
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.
|
int |
hashCode() |
Boolean |
isInclusive()
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAggregation(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 , and VARP . |
void |
setConstant(TopicRangeFilterConstant constant)
The constant used in a numeric range filter.
|
void |
setInclusive(Boolean inclusive)
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.
|
String |
toString()
Returns a string representation of this object.
|
TopicNumericRangeFilter |
withAggregation(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 , and VARP . |
TopicNumericRangeFilter |
withAggregation(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 , and VARP . |
TopicNumericRangeFilter |
withConstant(TopicRangeFilterConstant constant)
The constant used in a numeric range filter.
|
TopicNumericRangeFilter |
withInclusive(Boolean inclusive)
A Boolean value that indicates whether the endpoints of the numeric range are included in the filter.
|
public void setInclusive(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.
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.public Boolean getInclusive()
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.
public TopicNumericRangeFilter withInclusive(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.
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.public Boolean isInclusive()
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.
public void setConstant(TopicRangeFilterConstant constant)
The constant used in a numeric range filter.
constant
- The constant used in a numeric range filter.public TopicRangeFilterConstant getConstant()
The constant used in a numeric range filter.
public TopicNumericRangeFilter withConstant(TopicRangeFilterConstant constant)
The constant used in a numeric range filter.
constant
- The constant used in a numeric range filter.public void setAggregation(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
, and VARP
.
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
, and VARP
.NamedFilterAggType
public String getAggregation()
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
, and VARP
.
NO_AGGREGATION
, SUM
, AVERAGE
,
COUNT
, DISTINCT_COUNT
, MAX
, MEDIAN
, MIN
,
STDEV
, STDEVP
, VAR
, and VARP
.NamedFilterAggType
public TopicNumericRangeFilter withAggregation(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
, and VARP
.
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
, and VARP
.NamedFilterAggType
public TopicNumericRangeFilter withAggregation(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
, and VARP
.
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
, and VARP
.NamedFilterAggType
public String toString()
toString
in class Object
Object.toString()
public TopicNumericRangeFilter clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.