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:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StopDatafeedRequest.Builder
Builder forStopDatafeedRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<StopDatafeedRequest>
_DESERIALIZER
Json deserializer forStopDatafeedRequest
static Endpoint<StopDatafeedRequest,StopDatafeedResponse,ErrorResponse>
_ENDPOINT
Endpoint "ml.stop_datafeed
". -
Method Summary
Modifier and Type Method Description java.lang.Boolean
allowNoDatafeeds()
Deprecated.java.lang.Boolean
allowNoMatch()
Whether to ignore if a wildcard expression matches no datafeeds.java.lang.String
datafeedId()
Required - The ID of the datafeed to stopjava.lang.Boolean
force()
API name:force
static StopDatafeedRequest
of(java.util.function.Function<StopDatafeedRequest.Builder,ObjectBuilder<StopDatafeedRequest>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupStopDatafeedRequestDeserializer(ObjectDeserializer<StopDatafeedRequest.Builder> op)
Time
timeout()
API name:timeout
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forStopDatafeedRequest
-
_ENDPOINT
Endpoint "ml.stop_datafeed
".
-
-
Method Details
-
of
public static StopDatafeedRequest of(java.util.function.Function<StopDatafeedRequest.Builder,ObjectBuilder<StopDatafeedRequest>> fn) -
allowNoDatafeeds
@Deprecated @Nullable public final java.lang.Boolean allowNoDatafeeds()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
@Nullable public final java.lang.Boolean 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
public final java.lang.String datafeedId()Required - The ID of the datafeed to stopAPI name:
datafeed_id
-
force
@Nullable public final java.lang.Boolean force()API name:force
-
timeout
API name:timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupStopDatafeedRequestDeserializer
protected static void setupStopDatafeedRequestDeserializer(ObjectDeserializer<StopDatafeedRequest.Builder> op)
-
allow_no_match
instead.