次の方法で共有


StringNotEndsWithFilter Class

public final class StringNotEndsWithFilter
extends Filter

StringNotEndsWith Filter.

Constructor Summary

Constructor Description
StringNotEndsWithFilter()

Creates an instance of StringNotEndsWithFilter class.

Method Summary

Modifier and Type Method and Description
static StringNotEndsWithFilter fromJson(JsonReader jsonReader)

Reads an instance of StringNotEndsWithFilter from the JsonReader.

FilterOperatorType operatorType()

Get the operatorType property: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<String> values()

Get the values property: The set of filter values.

StringNotEndsWithFilter withKey(String key)

Set the key property: The field/property in the event based on which you want to filter.

StringNotEndsWithFilter 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

StringNotEndsWithFilter

public StringNotEndsWithFilter()

Creates an instance of StringNotEndsWithFilter class.

Method Details

fromJson

public static StringNotEndsWithFilter fromJson(JsonReader jsonReader)

Reads an instance of StringNotEndsWithFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StringNotEndsWithFilter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the StringNotEndsWithFilter.

operatorType

public FilterOperatorType operatorType()

Get the operatorType property: The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.

Overrides:

StringNotEndsWithFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StringNotEndsWithFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

StringNotEndsWithFilter.validate()

values

public List<String> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public StringNotEndsWithFilter withKey(String key)

Set the key property: The field/property in the event based on which you want to filter.

Overrides:

StringNotEndsWithFilter.withKey(String key)

Parameters:

key

withValues

public StringNotEndsWithFilter withValues(List<String> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the StringNotEndsWithFilter object itself.

Applies to