Udostępnij za pośrednictwem


StringNotContainsAdvancedFilter Class

public final class StringNotContainsAdvancedFilter
extends AdvancedFilter

StringNotContains Advanced Filter.

Constructor Summary

Constructor Description
StringNotContainsAdvancedFilter()

Creates an instance of StringNotContainsAdvancedFilter class.

Method Summary

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

Reads an instance of StringNotContainsAdvancedFilter 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.

StringNotContainsAdvancedFilter withKey(String key)

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

StringNotContainsAdvancedFilter 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

StringNotContainsAdvancedFilter

public StringNotContainsAdvancedFilter()

Creates an instance of StringNotContainsAdvancedFilter class.

Method Details

fromJson

public static StringNotContainsAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of StringNotContainsAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

StringNotContainsAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StringNotContainsAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

StringNotContainsAdvancedFilter.validate()

values

public List<String> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public StringNotContainsAdvancedFilter withKey(String key)

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

Overrides:

StringNotContainsAdvancedFilter.withKey(String key)

Parameters:

key

withValues

public StringNotContainsAdvancedFilter withValues(List<String> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the StringNotContainsAdvancedFilter object itself.

Applies to