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.
See Also:
API specification
  • Field Details

  • Method Details

    • of

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

      @Deprecated @Nullable public final java.lang.Boolean allowNoDatafeeds()
      Deprecated.
      7.10.0 Use allow_no_match instead.
      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_datafeeds

    • allowNoMatch

      @Nullable public final 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

    • datafeedId

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

      API name: datafeed_id

    • force

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

      @Nullable public final Time 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​(ObjectDeserializer<StopDatafeedRequest.Builder> op)