Class ResetJobRequest

All Implemented Interfaces:
Writeable, org.elasticsearch.core.RefCounted, TaskAwareRequest

public class ResetJobRequest extends ActionRequest
Request to delete a Machine Learning Job via its ID
  • Constructor Details

    • ResetJobRequest

      public ResetJobRequest(String jobId)
  • Method Details

    • getJobId

      public String getJobId()
    • setJobId

      public void setJobId(String jobId)
      The jobId which to reset
      Parameters:
      jobId - unique jobId to reset, must not be null
    • getWaitForCompletion

      public Boolean getWaitForCompletion()
    • setWaitForCompletion

      public void setWaitForCompletion(Boolean waitForCompletion)
      Set whether this request should wait until the operation has completed before returning
      Parameters:
      waitForCompletion - When true the call will wait for the job reset to complete. Otherwise, the reset will be executed asynchronously and the response will contain the task id.
    • validate

      Specified by:
      validate in class ActionRequest
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object