Class StringInAdvancedFilter
- java.lang.Object
-
- com.azure.resourcemanager.eventgrid.models.AdvancedFilter
-
- com.azure.resourcemanager.eventgrid.models.StringInAdvancedFilter
-
public final class StringInAdvancedFilter extends AdvancedFilter
StringIn Advanced Filter.
-
-
Constructor Summary
Constructors Constructor Description StringInAdvancedFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvalidate()Validates the instance.List<String>values()Get the values property: The set of filter values.StringInAdvancedFilterwithKey(String key)Set the key property: The field/property in the event based on which you want to filter.StringInAdvancedFilterwithValues(List<String> values)Set the values property: The set of filter values.-
Methods inherited from class com.azure.resourcemanager.eventgrid.models.AdvancedFilter
key
-
-
-
-
Method Detail
-
values
public List<String> values()
Get the values property: The set of filter values.- Returns:
- the values value.
-
withValues
public StringInAdvancedFilter withValues(List<String> values)
Set the values property: The set of filter values.- Parameters:
values- the values value to set.- Returns:
- the StringInAdvancedFilter object itself.
-
withKey
public StringInAdvancedFilter 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.
-
-