Class BoolEqualsAdvancedFilter
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.AdvancedFilter
-
- com.azure.resourcemanager.eventgrid.models.BoolEqualsAdvancedFilter
-
public final class BoolEqualsAdvancedFilter extends AdvancedFilter
BoolEquals Advanced Filter.
-
-
Constructor Summary
Constructors Constructor Description BoolEqualsAdvancedFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.Boolean
value()
Get the value property: The boolean filter value.BoolEqualsAdvancedFilter
withKey(String key)
Set the key property: The field/property in the event based on which you want to filter.BoolEqualsAdvancedFilter
withValue(Boolean value)
Set the value property: The boolean filter value.-
Methods inherited from class com.azure.resourcemanager.eventgrid.models.AdvancedFilter
key
-
-
-
-
Method Detail
-
value
public Boolean value()
Get the value property: The boolean filter value.- Returns:
- the value value.
-
withValue
public BoolEqualsAdvancedFilter withValue(Boolean value)
Set the value property: The boolean filter value.- Parameters:
value
- the value value to set.- Returns:
- the BoolEqualsAdvancedFilter object itself.
-
withKey
public BoolEqualsAdvancedFilter withKey(String key)
Set the key property: The field/property in the event based on which you want to filter.- Overrides:
withKey
in classAdvancedFilter
- Parameters:
key
- the key value to set.- Returns:
- the AdvancedFilter object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classAdvancedFilter
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-