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.BuilderallowNoDatafeeds(java.lang.Boolean value)Deprecated.StopDatafeedRequest.BuilderallowNoMatch(java.lang.Boolean value)Whether to ignore if a wildcard expression matches no datafeeds.StopDatafeedRequestbuild()Builds aStopDatafeedRequest.StopDatafeedRequest.BuilderdatafeedId(java.lang.String value)Required - The ID of the datafeed to stopStopDatafeedRequest.Builderforce(java.lang.Boolean value)API name:forceprotected StopDatafeedRequest.Builderself()StopDatafeedRequest.Buildertimeout(Time value)API name:timeoutStopDatafeedRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:timeoutMethods 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
-
allowNoDatafeeds
@Deprecated public final StopDatafeedRequest.Builder allowNoDatafeeds(@Nullable java.lang.Boolean value)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
public final StopDatafeedRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)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.
-
allow_no_matchinstead.