Class Filter

java.lang.Object
co.elastic.clients.elasticsearch.ml.Filter
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class Filter extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • description

      @Nullable public final String description()
      A description of the filter.

      API name: description

    • filterId

      public final String filterId()
      Required - A string that uniquely identifies a filter.

      API name: filter_id

    • items

      public final List<String> items()
      Required - An array of strings which is the filter item list.

      API name: items

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupFilterDeserializer

      protected static void setupFilterDeserializer(ObjectDeserializer<Filter.Builder> op)