Class StopDatafeedRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.StopDatafeedRequest
All Implemented Interfaces:
ElasticsearchCommonRequest, JsonpSerializable

@JsonpDeserializable
public final class StopDatafeedRequest
extends RequestBase
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • datafeedId

      public java.lang.String datafeedId()
      Required - The ID of the datafeed to stop

      API name: datafeed_id

    • allowNoMatch

      @Nullable public java.lang.Boolean allowNoMatch()
      Whether to ignore if a wildcard expression matches no datafeeds. (This includes _all string or when no datafeeds have been specified)

      API name: allow_no_match

    • force

      @Nullable public java.lang.Boolean force()
      API name: force
    • timeout

      @Nullable public java.lang.String timeout()
      API name: timeout
    • 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)
    • setupStopDatafeedRequestDeserializer

      protected static void setupStopDatafeedRequestDeserializer​(DelegatingDeserializer<StopDatafeedRequest.Builder> op)