Class ActivateWatchRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.watcher.ActivateWatchRequest
public class ActivateWatchRequest extends RequestBase
Activates a currently inactive watch.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActivateWatchRequest.Builder
Builder forActivateWatchRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<ActivateWatchRequest,ActivateWatchResponse,ErrorResponse>
_ENDPOINT
Endpoint "watcher.activate_watch
". -
Method Summary
Modifier and Type Method Description static ActivateWatchRequest
of(java.util.function.Function<ActivateWatchRequest.Builder,ObjectBuilder<ActivateWatchRequest>> fn)
java.lang.String
watchId()
Required - Watch IDMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "watcher.activate_watch
".
-
-
Method Details
-
of
public static ActivateWatchRequest of(java.util.function.Function<ActivateWatchRequest.Builder,ObjectBuilder<ActivateWatchRequest>> fn) -
watchId
public final java.lang.String watchId()Required - Watch IDAPI name:
watch_id
-