Class StopDatafeedRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.StopDatafeedRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<StopDatafeedRequest>
- Enclosing class:
- StopDatafeedRequest
public static class StopDatafeedRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<StopDatafeedRequest>
Builder for
StopDatafeedRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description StopDatafeedRequest.Builder
allowNoDatafeeds(java.lang.Boolean value)
Deprecated.StopDatafeedRequest.Builder
allowNoMatch(java.lang.Boolean value)
Whether to ignore if a wildcard expression matches no datafeeds.StopDatafeedRequest
build()
Builds aStopDatafeedRequest
.StopDatafeedRequest.Builder
datafeedId(java.lang.String value)
Required - The ID of the datafeed to stopStopDatafeedRequest.Builder
force(java.lang.Boolean value)
API name:force
StopDatafeedRequest.Builder
timeout(Time value)
API name:timeout
StopDatafeedRequest.Builder
timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)
API name:timeout
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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_match
instead.Whether to ignore if a wildcard expression matches no datafeeds. (This includes_all
string 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_all
string 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
-
build
Builds aStopDatafeedRequest
.- Specified by:
build
in interfaceObjectBuilder<StopDatafeedRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
allow_no_match
instead.