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