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 voidvalidate()Validates the instance.Booleanvalue()Get the value property: The boolean filter value.BoolEqualsAdvancedFilterwithKey(String key)Set the key property: The field/property in the event based on which you want to filter.BoolEqualsAdvancedFilterwithValue(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:
withKeyin classAdvancedFilter- Parameters:
key- the key value to set.- Returns:
- the AdvancedFilter object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classAdvancedFilter- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-