Udostępnij za pośrednictwem


StringBeginsWithAdvancedFilter Class

public final class StringBeginsWithAdvancedFilter
extends AdvancedFilter

StringBeginsWith Advanced Filter.

Constructor Summary

Constructor Description
StringBeginsWithAdvancedFilter()

Creates an instance of StringBeginsWithAdvancedFilter class.

Method Summary

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

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

StringBeginsWithAdvancedFilter withKey(String key)

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

StringBeginsWithAdvancedFilter 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

StringBeginsWithAdvancedFilter

public StringBeginsWithAdvancedFilter()

Creates an instance of StringBeginsWithAdvancedFilter class.

Method Details

fromJson

public static StringBeginsWithAdvancedFilter fromJson(JsonReader jsonReader)

Reads an instance of StringBeginsWithAdvancedFilter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

operatorType

public AdvancedFilterOperatorType operatorType()

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

Overrides:

StringBeginsWithAdvancedFilter.operatorType()

Returns:

the operatorType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StringBeginsWithAdvancedFilter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

StringBeginsWithAdvancedFilter.validate()

values

public List<String> values()

Get the values property: The set of filter values.

Returns:

the values value.

withKey

public StringBeginsWithAdvancedFilter withKey(String key)

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

Overrides:

StringBeginsWithAdvancedFilter.withKey(String key)

Parameters:

key

withValues

public StringBeginsWithAdvancedFilter withValues(List<String> values)

Set the values property: The set of filter values.

Parameters:

values - the values value to set.

Returns:

the StringBeginsWithAdvancedFilter object itself.

Applies to