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