NumberGreaterThanAdvancedFilter Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. AdvancedFilter - com.
azure. resourcemanager. eventgrid. models. NumberGreaterThanAdvancedFilter
- com.
- com.
public final class NumberGreaterThanAdvancedFilter
extends AdvancedFilter
NumberGreaterThan Advanced Filter.
Constructor Summary
| Constructor | Description |
|---|---|
| NumberGreaterThanAdvancedFilter() |
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
NumberGreaterThanAdvancedFilter
public NumberGreaterThanAdvancedFilter()
Creates an instance of NumberGreaterThanAdvancedFilter class.
Method Details
fromJson
public static NumberGreaterThanAdvancedFilter fromJson(JsonReader jsonReader)
Reads an instance of NumberGreaterThanAdvancedFilter 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:
NumberGreaterThanAdvancedFilter.operatorType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NumberGreaterThanAdvancedFilter.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
NumberGreaterThanAdvancedFilter.validate()value
public Double value()
Get the value property: The filter value.
Returns:
withKey
public NumberGreaterThanAdvancedFilter withKey(String key)
Set the key property: The field/property in the event based on which you want to filter.
Overrides:
NumberGreaterThanAdvancedFilter.withKey(String key)Parameters:
withValue
public NumberGreaterThanAdvancedFilter withValue(Double value)
Set the value property: The filter value.
Parameters:
Returns: