Package org.elasticsearch.client.watcher
Class AckWatchRequest
- java.lang.Object
-
- org.elasticsearch.client.watcher.AckWatchRequest
-
- All Implemented Interfaces:
Validatable
public class AckWatchRequest extends java.lang.Object implements Validatable
A request to explicitly acknowledge a watch.
-
-
Field Summary
-
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
-
Constructor Summary
Constructors Constructor Description AckWatchRequest(java.lang.String watchId, java.lang.String... actionIds)
-
Method Summary
Modifier and Type Method Description java.lang.String[]
getActionIds()
java.lang.String
getWatchId()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.client.Validatable
validate
-
-
-
-
Method Detail
-
getWatchId
public java.lang.String getWatchId()
- Returns:
- The ID of the watch to be acked.
-
getActionIds
public java.lang.String[] getActionIds()
- Returns:
- The IDs of the actions to be acked. If omitted, all actions for the given watch will be acknowledged.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-