Class WatcherWatch
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.WatcherWatch
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class WatcherWatch extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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 -
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()Required - API name:inputstatic WatcherWatchof(java.util.function.Function<WatcherWatch.Builder,ObjectBuilder<WatcherWatch>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupWatcherWatchDeserializer(ObjectDeserializer<WatcherWatch.Builder> op)java.lang.StringtoString()WatcherWatchTriggertrigger()Required - API name:triggerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatcherWatch
-
-
Method Details
-
of
public static WatcherWatch of(java.util.function.Function<WatcherWatch.Builder,ObjectBuilder<WatcherWatch>> fn) -
input
Required - API name:input -
condition
API name:condition -
action
API name:action -
trigger
Required - API name:trigger -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupWatcherWatchDeserializer
-