StringContainsAdvancedFilter Class
- java.
lang. Object - com.
azure. resourcemanager. eventgrid. models. AdvancedFilter - com.
azure. resourcemanager. eventgrid. models. StringContainsAdvancedFilter
- com.
- com.
public final class StringContainsAdvancedFilter
extends AdvancedFilter
StringContains Advanced Filter.
Constructor Summary
| Constructor | Description |
|---|---|
| StringContainsAdvancedFilter() |
Creates an instance of String |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
String |
fromJson(JsonReader jsonReader)
Reads an instance of String |
|
Advanced |
operatorType()
Get the operator |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| List<String> |
values()
Get the values property: The set of filter values. |
|
String |
withKey(String key)
Set the key property: The field/property in the event based on which you want to filter. |
|
String |
withValues(List<String> values)
Set the values property: The set of filter values. |
Methods inherited from AdvancedFilter
Methods inherited from java.lang.Object
Constructor Details
StringContainsAdvancedFilter
public StringContainsAdvancedFilter()
Creates an instance of StringContainsAdvancedFilter class.
Method Details
fromJson
public static StringContainsAdvancedFilter fromJson(JsonReader jsonReader)
Reads an instance of StringContainsAdvancedFilter from the JsonReader.
Parameters:
Returns:
Throws:
operatorType
public AdvancedFilterOperatorType operatorType()
Get the operatorType property: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.
Overrides:
StringContainsAdvancedFilter.operatorType()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StringContainsAdvancedFilter.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
StringContainsAdvancedFilter.validate()values
public List<String> values()
Get the values property: The set of filter values.
Returns:
withKey
public StringContainsAdvancedFilter withKey(String key)
Set the key property: The field/property in the event based on which you want to filter.
Overrides:
StringContainsAdvancedFilter.withKey(String key)Parameters:
withValues
public StringContainsAdvancedFilter withValues(List<String> values)
Set the values property: The set of filter values.
Parameters:
Returns: