Class DelayedDataCheckConfig.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • checkWindow

      public final DelayedDataCheckConfig.Builder checkWindow​(@Nullable Time 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

    • checkWindow

      public final DelayedDataCheckConfig.Builder checkWindow​(java.util.function.Function<Time.Builder,​ObjectBuilder<Time>> fn)
      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 final 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.