Class StopJobRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.rollup.StopJobRequest
All Implemented Interfaces:
ElasticsearchCommonRequest

public final class StopJobRequest
extends RequestBase
  • Field Details

  • Constructor Details

  • Method Details

    • id

      public java.lang.String id()
      The ID of the job to stop

      API name: id

    • timeout

      @Nullable public java.lang.String timeout()
      Block for (at maximum) the specified duration while waiting for the job to stop. Defaults to 30s.

      API name: timeout

    • waitForCompletion

      @Nullable public java.lang.Boolean waitForCompletion()
      True if the API should block until the job has fully stopped, false if should be executed async. Defaults to false.

      API name: wait_for_completion