Class FlushJobRequest.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.FlushJobRequest.Builder
All Implemented Interfaces:
ObjectBuilder<FlushJobRequest>
Enclosing class:
FlushJobRequest

public static class FlushJobRequest.Builder
extends ObjectBuilderBase
implements ObjectBuilder<FlushJobRequest>
Builder for FlushJobRequest.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • advanceTime

      public final FlushJobRequest.Builder advanceTime​(@Nullable java.lang.String value)
      Specifies to advance to a particular time value. Results are generated and the model is updated for data from the specified time interval.

      API name: advance_time

    • calcInterim

      public final FlushJobRequest.Builder calcInterim​(@Nullable java.lang.Boolean value)
      If true, calculates the interim results for the most recent bucket or all buckets within the latency period.

      API name: calc_interim

    • end

      public final FlushJobRequest.Builder end​(@Nullable java.lang.String value)
      When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results.

      API name: end

    • jobId

      public final FlushJobRequest.Builder jobId​(java.lang.String value)
      Required - Identifier for the anomaly detection job.

      API name: job_id

    • skipTime

      public final FlushJobRequest.Builder skipTime​(@Nullable java.lang.String value)
      Specifies to skip to a particular time value. Results are not generated and the model is not updated for data from the specified time interval.

      API name: skip_time

    • start

      public final FlushJobRequest.Builder start​(@Nullable java.lang.String value)
      When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results.

      API name: start

    • build

      public FlushJobRequest build()
      Builds a FlushJobRequest.
      Specified by:
      build in interface ObjectBuilder<FlushJobRequest>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.