Class DelayedDataCheckConfig.Builder

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

public static class DelayedDataCheckConfig.Builder
extends java.lang.Object
implements ObjectBuilder<DelayedDataCheckConfig>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • checkWindow

      public DelayedDataCheckConfig.Builder checkWindow​(@Nullable java.lang.String value)
      The window of time that is searched for late data. This window of time ends with the latest finalized bucket. It defaults to null, which causes an appropriate check_window to be calculated when the real-time datafeed runs. In particular, the default check_window span calculation is based on the maximum of 2h or 8 * bucket_span.

      API name: check_window

    • enabled

      public DelayedDataCheckConfig.Builder enabled​(boolean value)
      Required - Specifies whether the datafeed periodically checks for delayed data.

      API name: enabled

    • build

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