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

@JsonpDeserializable public class Action extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • actionType

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

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

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

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

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

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

      @Nullable public final 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupActionDeserializer

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