Class AckWatchRequest

java.lang.Object
org.elasticsearch.client.watcher.AckWatchRequest
All Implemented Interfaces:
Validatable

public class AckWatchRequest extends Object implements Validatable
A request to explicitly acknowledge a watch.
  • Constructor Details

    • AckWatchRequest

      public AckWatchRequest(String watchId, String... actionIds)
  • Method Details

    • getWatchId

      public String getWatchId()
      Returns:
      The ID of the watch to be acked.
    • getActionIds

      public String[] getActionIds()
      Returns:
      The IDs of the actions to be acked. If omitted, all actions for the given watch will be acknowledged.
    • toString

      public String toString()
      Overrides:
      toString in class Object