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