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>
Builder for
DelayedDataCheckConfig
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description DelayedDataCheckConfig
build()
Builds aDelayedDataCheckConfig
.DelayedDataCheckConfig.Builder
checkWindow(java.lang.String value)
The window of time that is searched for late data.DelayedDataCheckConfig.Builder
enabled(boolean value)
Specifies whether the datafeed periodically checks for delayed data.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
checkWindow
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 defaultcheck_window
span calculation is based on the maximum of2h
or8 * bucket_span
.API name:
check_window
-
enabled
Specifies whether the datafeed periodically checks for delayed data.API name:
enabled
-
build
Builds aDelayedDataCheckConfig
.- Specified by:
build
in interfaceObjectBuilder<DelayedDataCheckConfig>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-