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