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