Class DelayedDataCheckConfig.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DelayedDataCheckConfig.Builder>
co.elastic.clients.elasticsearch.ml.DelayedDataCheckConfig.Builder
- All Implemented Interfaces:
WithJson<DelayedDataCheckConfig.Builder>,ObjectBuilder<DelayedDataCheckConfig>
- Enclosing class:
- DelayedDataCheckConfig
public static class DelayedDataCheckConfig.Builder
extends WithJsonObjectBuilderBase<DelayedDataCheckConfig.Builder>
implements ObjectBuilder<DelayedDataCheckConfig>
Builder for
DelayedDataCheckConfig.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDelayedDataCheckConfig.checkWindow(Time value) The window of time that is searched for late data.The window of time that is searched for late data.enabled(boolean value) Required - Specifies whether the datafeed periodically checks for delayed data.protected DelayedDataCheckConfig.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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 appropriatecheck_windowto 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 -
checkWindow
public final DelayedDataCheckConfig.Builder checkWindow(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 appropriatecheck_windowto 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
Required - Specifies whether the datafeed periodically checks for delayed data.API name:
enabled -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<DelayedDataCheckConfig.Builder>
-
build
Builds aDelayedDataCheckConfig.- Specified by:
buildin interfaceObjectBuilder<DelayedDataCheckConfig>- Throws:
NullPointerException- if some of the required fields are null.
-