Class IndexAction

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

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

  • Method Details

    • of

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

      public final java.lang.String index()
      Required - API name: index
    • docId

      @Nullable public final java.lang.String docId()
      API name: doc_id
    • refresh

      @Nullable public final Refresh refresh()
      API name: refresh
    • opType

      @Nullable public final OpType opType()
      API name: op_type
    • timeout

      @Nullable public final Time timeout()
      API name: timeout
    • executionTimeField

      @Nullable public final java.lang.String executionTimeField()
      API name: execution_time_field
    • 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 java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • setupIndexActionDeserializer

      protected static void setupIndexActionDeserializer​(ObjectDeserializer<IndexAction.Builder> op)