Class Action
java.lang.Object
co.elastic.clients.elasticsearch.watcher.Action
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class Action extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAction.BuilderBuilder forAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Action>_DESERIALIZERJson deserializer forAction -
Constructor Summary
Constructors Constructor Description Action(Action.Builder builder)Action(java.util.function.Function<Action.Builder,Action.Builder> fn) -
Method Summary
Modifier and Type Method Description ActionTypeactionType()API name:action_typeConditioncondition()API name:conditionjava.lang.Stringforeach()API name:foreachIndexindex()API name:indexLogginglogging()API name:loggingjava.lang.IntegermaxIterations()API name:max_iterationsjava.lang.Stringname()API name:namevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupActionDeserializer(DelegatingDeserializer<Action.Builder> op)java.lang.StringthrottlePeriod()API name:throttle_periodjava.lang.StringthrottlePeriodInMillis()API name:throttle_period_in_millisTransformtransform()API name:transformActionWebhookwebhook()API name:webhookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAction
-
-
Constructor Details
-
Action
-
Action
-
-
Method Details
-
actionType
API name:action_type -
condition
API name:condition -
foreach
@Nullable public java.lang.String foreach()API name:foreach -
maxIterations
@Nullable public java.lang.Integer maxIterations()API name:max_iterations -
name
@Nullable public java.lang.String name()API name:name -
throttlePeriod
@Nullable public java.lang.String throttlePeriod()API name:throttle_period -
throttlePeriodInMillis
@Nullable public java.lang.String throttlePeriodInMillis()API name:throttle_period_in_millis -
transform
API name:transform -
index
API name:index -
logging
API name:logging -
webhook
API name:webhook -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupActionDeserializer
-