Class DeleteDatafeedRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.DeleteDatafeedRequest
public class DeleteDatafeedRequest extends RequestBase
Deletes an existing datafeed.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeleteDatafeedRequest.BuilderBuilder forDeleteDatafeedRequest.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 Endpoint<DeleteDatafeedRequest,DeleteDatafeedResponse,ErrorResponse>_ENDPOINTEndpoint "ml.delete_datafeed". -
Method Summary
Modifier and Type Method Description java.lang.StringdatafeedId()Required - A numerical character string that uniquely identifies the datafeed.java.lang.Booleanforce()Use to forcefully delete a started datafeed; this method is quicker than stopping and deleting the datafeed.static DeleteDatafeedRequestof(java.util.function.Function<DeleteDatafeedRequest.Builder,ObjectBuilder<DeleteDatafeedRequest>> fn)Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteDatafeedRequest,DeleteDatafeedResponse,ErrorResponse> _ENDPOINTEndpoint "ml.delete_datafeed".
-
-
Method Details
-
of
public static DeleteDatafeedRequest of(java.util.function.Function<DeleteDatafeedRequest.Builder,ObjectBuilder<DeleteDatafeedRequest>> fn) -
datafeedId
public final java.lang.String datafeedId()Required - A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.API name:
datafeed_id -
force
@Nullable public final java.lang.Boolean force()Use to forcefully delete a started datafeed; this method is quicker than stopping and deleting the datafeed.API name:
force
-