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
Stops one or more datafeeds.
- 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 BooleanDeprecated.final BooleanWhether to ignore if a wildcard expression matches no datafeeds.final StringRequired - The ID of the datafeed to stopfinal Booleanforce()API name:forcestatic 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()API name:timeoutMethods 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) -
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 -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupStopDatafeedRequestDeserializer
protected static void setupStopDatafeedRequestDeserializer(ObjectDeserializer<StopDatafeedRequest.Builder> op)
-
allow_no_matchinstead.