Class Watcher
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.Base
co.elastic.clients.elasticsearch.xpack.usage.Watcher
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Watcher extends Base
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Watcher.Builder
Builder forWatcher
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base
Base.AbstractBuilder<BuilderT extends Base.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Watcher>
_DESERIALIZER
Json deserializer forWatcher
-
Constructor Summary
Constructors Constructor Description Watcher(Watcher.Builder builder)
Watcher(java.util.function.Function<Watcher.Builder,Watcher.Builder> fn)
-
Method Summary
Modifier and Type Method Description Counter
count()
Required - API name:count
WatcherActions
execution()
Required - API name:execution
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupWatcherDeserializer(DelegatingDeserializer<Watcher.Builder> op)
WatcherWatch
watch()
Required - API name:watch
Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.Base
available, enabled, serialize, setupBaseDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcher
-
-
Constructor Details
-
Watcher
-
Watcher
-
-
Method Details
-
execution
Required - API name:execution
-
watch
Required - API name:watch
-
count
Required - API name:count
-
serializeInternal
- Overrides:
serializeInternal
in classBase
-
setupWatcherDeserializer
-