Class FilterRef
java.lang.Object
co.elastic.clients.elasticsearch.ml.FilterRef
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class FilterRef extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FilterRef.Builder
Builder forFilterRef
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FilterRef>
_DESERIALIZER
Json deserializer forFilterRef
-
Method Summary
Modifier and Type Method Description java.lang.String
filterId()
Required - The identifier for the filter.FilterType
filterType()
If set toinclude
, the rule applies for values in the filter.static FilterRef
of(java.util.function.Function<FilterRef.Builder,ObjectBuilder<FilterRef>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupFilterRefDeserializer(ObjectDeserializer<FilterRef.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFilterRef
-
-
Method Details
-
of
public static FilterRef of(java.util.function.Function<FilterRef.Builder,ObjectBuilder<FilterRef>> fn) -
filterId
public final java.lang.String filterId()Required - The identifier for the filter.API name:
filter_id
-
filterType
If set toinclude
, the rule applies for values in the filter. If set toexclude
, the rule applies for values not in the filter.API name:
filter_type
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupFilterRefDeserializer
-