NumberInFilter Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. Filter - com.
azure. resourcemanager. eventgrid. models. NumberInFilter
- com.
- com.
public final class NumberInFilter
extends Filter
NumberIn Filter.
Constructor Summary
| Constructor | Description |
|---|---|
| NumberInFilter() |
Creates an instance of Number |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Number |
fromJson(JsonReader jsonReader)
Reads an instance of Number |
|
Filter |
operatorType()
Get the operator |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| List<Double> |
values()
Get the values property: The set of filter values. |
|
Number |
withKey(String key)
Set the key property: The field/property in the event based on which you want to filter. |
|
Number |
withValues(List<Double> values)
Set the values property: The set of filter values. |
Methods inherited from Filter
Methods inherited from java.lang.Object
Constructor Details
NumberInFilter
public NumberInFilter()
Creates an instance of NumberInFilter class.
Method Details
fromJson
public static NumberInFilter fromJson(JsonReader jsonReader)
Reads an instance of NumberInFilter from the JsonReader.
Parameters:
Returns:
Throws:
operatorType
public FilterOperatorType operatorType()
Get the operatorType property: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
Overrides:
NumberInFilter.operatorType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NumberInFilter.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NumberInFilter.validate()values
public List<Double> values()
Get the values property: The set of filter values.
Returns:
withKey
public NumberInFilter withKey(String key)
Set the key property: The field/property in the event based on which you want to filter.
Overrides:
NumberInFilter.withKey(String key)Parameters:
withValues
public NumberInFilter withValues(List<Double> values)
Set the values property: The set of filter values.
Parameters:
Returns: