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 TypeMethodDescriptionallowNoDatafeeds(Boolean value) Deprecated.allowNoMatch(Boolean value) Whether to ignore if a wildcard expression matches no datafeeds.build()Builds aStopDatafeedRequest.datafeedId(String value) Required - The ID of the datafeed to stopAPI name:forceprotected StopDatafeedRequest.Builderself()API name:timeoutAPI name:timeoutMethods 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
-
allowNoDatafeeds
Deprecated.7.10.0 Useallow_no_matchinstead.Whether to ignore if a wildcard expression matches no datafeeds. (This includes_allstring or when no datafeeds have been specified)API name:
allow_no_datafeeds -
allowNoMatch
Whether to ignore if a wildcard expression matches no datafeeds. (This includes_allstring or when no datafeeds have been specified)API name:
allow_no_match -
datafeedId
Required - The ID of the datafeed to stopAPI name:
datafeed_id -
force
API name:force -
timeout
API name:timeout -
timeout
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.
-
allow_no_matchinstead.