java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.Destination
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

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

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

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

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

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

      @Nullable public final VersionType versionType()
      API name: version_type
    • 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
    • setupDestinationDeserializer

      protected static void setupDestinationDeserializer​(ObjectDeserializer<Destination.Builder> op)