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