Class Watch
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Watch
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Watch extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Watch.Builder
Builder forWatch
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Watch>
_DESERIALIZER
Json deserializer forWatch
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Action>
actions()
Required - API name:actions
Condition
condition()
Required - API name:condition
Input
input()
Required - API name:input
java.util.Map<java.lang.String,JsonData>
metadata()
API name:metadata
static Watch
of(java.util.function.Function<Watch.Builder,ObjectBuilder<Watch>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupWatchDeserializer(ObjectDeserializer<Watch.Builder> op)
WatchStatus
status()
API name:status
java.lang.String
throttlePeriod()
API name:throttle_period
java.lang.Long
throttlePeriodInMillis()
API name:throttle_period_in_millis
java.lang.String
toString()
Transform
transform()
API name:transform
Trigger
trigger()
Required - API name:trigger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forWatch
-
-
Method Details
-
of
-
actions
Required - API name:actions
-
condition
Required - API name:condition
-
input
Required - API name:input
-
metadata
API name:metadata
-
status
API name:status
-
throttlePeriod
@Nullable public final java.lang.String throttlePeriod()API name:throttle_period
-
transform
API name:transform
-
trigger
Required - API name:trigger
-
throttlePeriodInMillis
@Nullable public final java.lang.Long throttlePeriodInMillis()API name:throttle_period_in_millis
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupWatchDeserializer
-