AdvancedFilter Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. AdvancedFilter
- com.
public class AdvancedFilter
This is the base type that represents an advanced filter. To configure an advanced filter, do not directly instantiate an object of this class. Instead, instantiate an object of a derived class such as BoolEqualsAdvancedFilter, NumberInAdvancedFilter, StringEqualsAdvancedFilter etc. depending on the type of the key based on which you want to filter.
Constructor Summary
Constructor | Description | |
---|---|---|
AdvancedFilter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
key()
Get the key property: The field/property in the event based on which you want to filter. |
void |
validate()
Validates the instance. |
Advanced |
withKey(String key)
Set the key property: The field/property in the event based on which you want to filter. |
Methods inherited from java.lang.Object
Constructor Details
AdvancedFilter
public AdvancedFilter()
Method Details
key
public String key()
Get the key property: The field/property in the event based on which you want to filter.
Returns:
validate
public void validate()
Validates the instance.
withKey
public AdvancedFilter withKey(String key)
Set the key property: The field/property in the event based on which you want to filter.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for