Class StopDatafeedRequest

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

@JsonpDeserializable
public class StopDatafeedRequest
extends RequestBase
implements JsonpSerializable
Stops one or more datafeeds. A datafeed that is stopped ceases to retrieve data from Elasticsearch. A datafeed can be started and stopped multiple times throughout its lifecycle.
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static StopDatafeedRequest of​(java.util.function.Function<StopDatafeedRequest.Builder,​ObjectBuilder<StopDatafeedRequest>> fn)
    • allowNoMatch

      @Nullable public final java.lang.Boolean allowNoMatch()
      Refer to the description for the allow_no_match query parameter.

      API name: allow_no_match

    • datafeedId

      public final java.lang.String datafeedId()
      Required - Identifier for the datafeed. You can stop multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can close all datafeeds by using _all or by specifying * as the identifier.

      API name: datafeed_id

    • force

      @Nullable public final java.lang.Boolean force()
      Refer to the description for the force query parameter.

      API name: force

    • timeout

      @Nullable public final Time timeout()
      Refer to the description for the timeout query parameter.

      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​(ObjectDeserializer<StopDatafeedRequest.Builder> op)