Class StopDatafeedRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<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 RequestBase.AbstractBuilder<StopDatafeedRequest.Builder>
implements ObjectBuilder<StopDatafeedRequest>
Builder for
StopDatafeedRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowNoMatch(Boolean value) Refer to the description for theallow_no_matchquery parameter.build()Builds aStopDatafeedRequest.datafeedId(String value) Required - Identifier for the datafeed.Refer to the description for theforcequery parameter.protected StopDatafeedRequest.Builderself()Refer to the description for thetimeoutquery parameter.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, _mapPutAll
-
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
Refer to the description for thetimeoutquery parameter.API name:
timeout -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<StopDatafeedRequest.Builder>
-
build
Builds aStopDatafeedRequest.- Specified by:
buildin interfaceObjectBuilder<StopDatafeedRequest>- Throws:
NullPointerException- if some of the required fields are null.
-