Class PostDataRequest<TData>

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.PostDataRequest<TData>
All Implemented Interfaces:
ElasticsearchCommonRequest, JsonpSerializable

public final class PostDataRequest<TData>
extends RequestBase
implements JsonpSerializable
  • Field Details

  • Constructor Details

  • Method Details

    • jobId

      public java.lang.String jobId()
      The name of the job receiving the data

      API name: job_id

    • resetEnd

      @Nullable public java.lang.String resetEnd()
      Optional parameter to specify the end of the bucket resetting range

      API name: reset_end

    • resetStart

      @Nullable public java.lang.String resetStart()
      Optional parameter to specify the start of the bucket resetting range

      API name: reset_start

    • data

      public java.util.List<TData> data()
      Request body.

      API name: _value_body

    • serialize

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

      public static <TData> JsonpDeserializer<PostDataRequest<TData>> createPostDataRequestDeserializer​(JsonpDeserializer<TData> tDataDeserializer)