次の方法で共有


StringEndsWithAdvancedFilter Class

public final class StringEndsWithAdvancedFilter
extends AdvancedFilter

StringEndsWith Advanced Filter.

Constructor Summary

Constructor Description
StringEndsWithAdvancedFilter()

Creates an instance of StringEndsWithAdvancedFilter class.

Method Summary

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

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

StringEndsWithAdvancedFilter withKey(String key)

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

StringEndsWithAdvancedFilter 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

StringEndsWithAdvancedFilter

public StringEndsWithAdvancedFilter()

Creates an instance of StringEndsWithAdvancedFilter class.

Method Details

fromJson

public static StringEndsWithAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of StringEndsWithAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

StringEndsWithAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StringEndsWithAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

StringEndsWithAdvancedFilter.validate()

values

public List<String> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public StringEndsWithAdvancedFilter withKey(String key)

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

Overrides:

StringEndsWithAdvancedFilter.withKey(String key)

Parameters:

key

withValues

public StringEndsWithAdvancedFilter withValues(List<String> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the StringEndsWithAdvancedFilter object itself.

Applies to