Class FilterRef

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

@JsonpDeserializable
public final class FilterRef
extends java.lang.Object
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • filterId

      public java.lang.String filterId()
      Required - The identifier for the filter.

      API name: filter_id

    • filterType

      @Nullable public FilterType filterType()
      If set to include, the rule applies for values in the filter. If set to exclude, the rule applies for values not in the filter.

      API name: filter_type

    • 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)
    • setupFilterRefDeserializer

      protected static void setupFilterRefDeserializer​(DelegatingDeserializer<FilterRef.Builder> op)