Class StopDatafeedRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.StopDatafeedRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class StopDatafeedRequest
extends RequestBase
implements JsonpSerializable
Stop datafeeds. A datafeed that is stopped ceases to retrieve data from
Elasticsearch. A datafeed can be started and stopped multiple times
throughout its lifecycle.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<StopDatafeedRequest>Json deserializer forStopDatafeedRequeststatic final Endpoint<StopDatafeedRequest,StopDatafeedResponse, ErrorResponse> Endpoint "ml.stop_datafeed". -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanRefer to the description for theallow_no_matchquery parameter.final StringRequired - Identifier for the datafeed.final Booleanforce()Refer to the description for theforcequery parameter.static StopDatafeedRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetimeout()Refer to the description for thetimeoutquery parameter.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forStopDatafeedRequest -
_ENDPOINT
Endpoint "ml.stop_datafeed".
-
-
Method Details
-
of
public static StopDatafeedRequest of(Function<StopDatafeedRequest.Builder, ObjectBuilder<StopDatafeedRequest>> fn) -
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 -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupStopDatafeedRequestDeserializer
protected static void setupStopDatafeedRequestDeserializer(ObjectDeserializer<StopDatafeedRequest.Builder> op)
-