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 classFilterRef.BuilderBuilder forFilterRef. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FilterRef>_DESERIALIZERJson deserializer forFilterRef -
Method Summary
Modifier and Type Method Description java.lang.StringfilterId()Required - The identifier for the filter.FilterTypefilterType()If set toinclude, the rule applies for values in the filter.static FilterRefof(java.util.function.Function<FilterRef.Builder,ObjectBuilder<FilterRef>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFilterRefDeserializer(ObjectDeserializer<FilterRef.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFilterRefDeserializer
-