Package org.elasticsearch.client.watcher
Class GetWatchRequest
java.lang.Object
org.elasticsearch.client.watcher.GetWatchRequest
- All Implemented Interfaces:
Validatable
public final class GetWatchRequest extends java.lang.Object implements Validatable
The request to get the watch by name (id)
-
Field Summary
Fields inherited from interface org.elasticsearch.client.Validatable
EMPTY -
Constructor Summary
Constructors Constructor Description GetWatchRequest(java.lang.String watchId) -
Method Summary
Modifier and Type Method Description java.lang.StringgetId()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.client.Validatable
validate
-
Constructor Details
-
GetWatchRequest
public GetWatchRequest(java.lang.String watchId)
-
-
Method Details
-
getId
public java.lang.String getId()- Returns:
- The name of the watch to retrieve
-