Class CancelRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.tasks.CancelRequest
Cancels a task, if it can be cancelled through an API.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Endpoint<CancelRequest,
CancelResponse, ErrorResponse> Endpoint "tasks.cancel
". -
Method Summary
Modifier and TypeMethodDescriptionactions()
Comma-separated list or wildcard expression of actions used to limit the request.nodes()
Comma-separated list of node IDs or names used to limit the request.static CancelRequest
final String
Parent task ID used to limit the tasks.final String
taskId()
ID of the task.final Boolean
Should the request block until the cancellation of the task and its descendant tasks is completed.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "tasks.cancel
".
-
-
Method Details
-
of
-
actions
Comma-separated list or wildcard expression of actions used to limit the request.API name:
actions
-
nodes
Comma-separated list of node IDs or names used to limit the request.API name:
nodes
-
parentTaskId
Parent task ID used to limit the tasks.API name:
parent_task_id
-
taskId
ID of the task.API name:
task_id
-
waitForCompletion
Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to falseAPI name:
wait_for_completion
-