Class StopJobRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.StopJobRequest

public class StopJobRequest extends RequestBase
Stops an existing, started rollup job.
See Also:
  • Field Details

  • Method Details

    • of

    • id

      public final String id()
      Required - Identifier for the rollup job.

      API name: id

    • timeout

      @Nullable public final Time timeout()
      If wait_for_completion is true, the API blocks for (at maximum) the specified duration while waiting for the job to stop. If more than timeout time has passed, the API throws a timeout exception.

      API name: timeout

    • waitForCompletion

      @Nullable public final Boolean waitForCompletion()
      If set to true, causes the API to block until the indexer state completely stops. If set to false, the API returns immediately and the indexer is stopped asynchronously in the background.

      API name: wait_for_completion