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 DelayedDataCheckConfigbuild()Builds aDelayedDataCheckConfig.DelayedDataCheckConfig.BuildercheckWindow(java.lang.String value)The window of time that is searched for late data.DelayedDataCheckConfig.Builderenabled(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_windowspan calculation is based on the maximum of2hor8 * bucket_span.API name:
check_window -
enabled
Specifies whether the datafeed periodically checks for delayed data.API name:
enabled -
build
Builds aDelayedDataCheckConfig.- Specified by:
buildin interfaceObjectBuilder<DelayedDataCheckConfig>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-