Class StopWatcherRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.watcher.StopWatcherRequest
Stop the watch service. Stop the Watcher service if it is running.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<StopWatcherRequest,
StopWatcherResponse, ErrorResponse> Endpoint "watcher.stop
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for the master node.static StopWatcherRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "watcher.stop
".
-
-
Method Details
-
of
public static StopWatcherRequest of(Function<StopWatcherRequest.Builder, ObjectBuilder<StopWatcherRequest>> fn) -
masterTimeout
The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-