Class StopDatafeedRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StopDatafeedRequest.Builder>
co.elastic.clients.elasticsearch.ml.StopDatafeedRequest.Builder
- All Implemented Interfaces:
WithJson<StopDatafeedRequest.Builder>,ObjectBuilder<StopDatafeedRequest>
- Enclosing class:
- StopDatafeedRequest
public static class StopDatafeedRequest.Builder extends WithJsonObjectBuilderBase<StopDatafeedRequest.Builder> implements ObjectBuilder<StopDatafeedRequest>
Builder for
StopDatafeedRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StopDatafeedRequest.BuilderallowNoMatch(java.lang.Boolean value)Refer to the description for theallow_no_matchquery parameter.StopDatafeedRequestbuild()Builds aStopDatafeedRequest.StopDatafeedRequest.BuilderdatafeedId(java.lang.String value)Required - Identifier for the datafeed.StopDatafeedRequest.Builderforce(java.lang.Boolean value)Refer to the description for theforcequery parameter.protected StopDatafeedRequest.Builderself()StopDatafeedRequest.Buildertimeout(Time value)Refer to the description for thetimeoutquery parameter.StopDatafeedRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Refer to the description for thetimeoutquery parameter.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowNoMatch
Refer to the description for theallow_no_matchquery parameter.API name:
allow_no_match -
datafeedId
Required - Identifier for the datafeed. You can stop multiple datafeeds in a single API request by using a comma-separated list of datafeeds or a wildcard expression. You can close all datafeeds by using_allor by specifying*as the identifier.API name:
datafeed_id -
force
Refer to the description for theforcequery parameter.API name:
force -
timeout
Refer to the description for thetimeoutquery parameter.API name:
timeout -
timeout
public final StopDatafeedRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Refer to the description for thetimeoutquery parameter.API name:
timeout -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StopDatafeedRequest.Builder>
-
build
Builds aStopDatafeedRequest.- Specified by:
buildin interfaceObjectBuilder<StopDatafeedRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-