java.lang.Object
co.elastic.clients.elasticsearch.watcher.Action
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable
public class Action
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static Action of​(java.util.function.Function<Action.Builder,​ObjectBuilder<Action>> fn)
    • actionType

      @Nullable public final ActionType actionType()
      API name: action_type
    • condition

      @Nullable public final Condition condition()
      API name: condition
    • foreach

      @Nullable public final java.lang.String foreach()
      API name: foreach
    • maxIterations

      @Nullable public final java.lang.Integer maxIterations()
      API name: max_iterations
    • name

      @Nullable public final java.lang.String name()
      API name: name
    • throttlePeriod

      @Nullable public final Time throttlePeriod()
      API name: throttle_period
    • throttlePeriodInMillis

      @Nullable public final java.lang.String throttlePeriodInMillis()
      API name: throttle_period_in_millis
    • transform

      @Nullable public final Transform transform()
      API name: transform
    • index

      @Nullable public final Index index()
      API name: index
    • logging

      @Nullable public final Logging logging()
      API name: logging
    • webhook

      @Nullable public final ActionWebhook webhook()
      API name: webhook
    • serialize

      public void serialize​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • setupActionDeserializer

      protected static void setupActionDeserializer​(ObjectDeserializer<Action.Builder> op)