Udostępnij za pośrednictwem


StringNotInAdvancedFilter Class

public final class StringNotInAdvancedFilter
extends AdvancedFilter

StringNotIn Advanced Filter.

Constructor Summary

Constructor Description
StringNotInAdvancedFilter()

Creates an instance of StringNotInAdvancedFilter class.

Method Summary

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

Reads an instance of StringNotInAdvancedFilter from the JsonReader.

AdvancedFilterOperatorType 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.

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 AdvancedFilter

Methods inherited from java.lang.Object

Constructor Details

StringNotInAdvancedFilter

public StringNotInAdvancedFilter()

Creates an instance of StringNotInAdvancedFilter class.

Method Details

fromJson

public static StringNotInAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of StringNotInAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StringNotInAdvancedFilter 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 StringNotInAdvancedFilter.

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

StringNotInAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StringNotInAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

StringNotInAdvancedFilter.validate()

values

public List<String> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public StringNotInAdvancedFilter withKey(String key)

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

Overrides:

StringNotInAdvancedFilter.withKey(String key)

Parameters:

key

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.

Applies to