Class UpdateDatafeedResponse

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

@JsonpDeserializable public class UpdateDatafeedResponse extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • authorization

      @Nullable public final DatafeedAuthorization authorization()
      API name: authorization
    • aggregations

      public final Map<String,Aggregation> aggregations()
      API name: aggregations
    • chunkingConfig

      public final ChunkingConfig chunkingConfig()
      Required - API name: chunking_config
    • delayedDataCheckConfig

      @Nullable public final DelayedDataCheckConfig delayedDataCheckConfig()
      API name: delayed_data_check_config
    • datafeedId

      public final String datafeedId()
      Required - API name: datafeed_id
    • frequency

      @Nullable public final Time frequency()
      The interval at which scheduled queries are made while the datafeed runs in real time. The default value is either the bucket span for short bucket spans, or, for longer bucket spans, a sensible fraction of the bucket span. For example: 150s. When frequency is shorter than the bucket span, interim results for the last (partial) bucket are written then eventually overwritten by the full bucket results. If the datafeed uses aggregations, this value must be divisible by the interval of the date histogram aggregation.

      API name: frequency

    • indices

      public final List<String> indices()
      Required - API name: indices
    • indicesOptions

      @Nullable public final IndicesOptions indicesOptions()
      API name: indices_options
    • jobId

      public final String jobId()
      Required - API name: job_id
    • maxEmptySearches

      @Nullable public final Integer maxEmptySearches()
      API name: max_empty_searches
    • query

      public final Query query()
      Required - API name: query
    • queryDelay

      public final Time queryDelay()
      Required - API name: query_delay
    • runtimeMappings

      public final Map<String,RuntimeField> runtimeMappings()
      API name: runtime_mappings
    • scriptFields

      public final Map<String,ScriptField> scriptFields()
      API name: script_fields
    • scrollSize

      public final int scrollSize()
      Required - API name: scroll_size
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupUpdateDatafeedResponseDeserializer

      protected static void setupUpdateDatafeedResponseDeserializer(ObjectDeserializer<UpdateDatafeedResponse.Builder> op)