Class WatcherWatch
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.WatcherWatch
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class WatcherWatch extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWatcherWatch.BuilderBuilder forWatcherWatch. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<WatcherWatch>_DESERIALIZERJson deserializer forWatcherWatch -
Constructor Summary
Constructors Constructor Description WatcherWatch(WatcherWatch.Builder builder)WatcherWatch(java.util.function.Function<WatcherWatch.Builder,WatcherWatch.Builder> fn) -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Counter>action()API name:actionjava.util.Map<java.lang.String,Counter>condition()API name:conditionjava.util.Map<java.lang.String,Counter>input()API name:inputvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWatcherWatchDeserializer(DelegatingDeserializer<WatcherWatch.Builder> op)WatcherWatchTriggertrigger()API name:triggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcherWatch
-
-
Constructor Details
-
WatcherWatch
-
WatcherWatch
-
-
Method Details
-
input
API name:input -
condition
API name:condition -
action
API name:action -
trigger
API name:trigger -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupWatcherWatchDeserializer
protected static void setupWatcherWatchDeserializer(DelegatingDeserializer<WatcherWatch.Builder> op)
-