Package org.elasticsearch.client.watcher
Class DeleteWatchRequest
java.lang.Object
org.elasticsearch.client.watcher.DeleteWatchRequest
- All Implemented Interfaces:
Validatable
public class DeleteWatchRequest extends java.lang.Object implements Validatable
A delete watch request to delete an watch by name (id)
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY
-
Constructor Summary
Constructors Constructor Description DeleteWatchRequest(java.lang.String id)
-
Method Summary
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
-
Constructor Details
-
DeleteWatchRequest
public DeleteWatchRequest(java.lang.String id)
-
-
Method Details
-
getId
public java.lang.String getId()- Returns:
- The name of the watch to be deleted
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-