Class CancelRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.tasks.CancelRequest

public class CancelRequest extends RequestBase
Cancels a task, if it can be cancelled through an API.
See Also:
  • Field Details

  • Method Details

    • of

    • actions

      public final List<String> actions()
      Comma-separated list or wildcard expression of actions used to limit the request.

      API name: actions

    • nodes

      public final List<String> nodes()
      Comma-separated list of node IDs or names used to limit the request.

      API name: nodes

    • parentTaskId

      @Nullable public final String parentTaskId()
      Parent task ID used to limit the tasks.

      API name: parent_task_id

    • taskId

      @Nullable public final String taskId()
      ID of the task.

      API name: task_id

    • waitForCompletion

      @Nullable public final Boolean waitForCompletion()
      Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false

      API name: wait_for_completion