Class Destination

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

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

  • Method Details

    • of

    • index

      @Nullable public final String index()
      The destination index for the transform. The mappings of the destination index are deduced based on the source fields when possible. If alternate mappings are required, use the create index API prior to starting the transform.

      API name: index

    • pipeline

      @Nullable public final String pipeline()
      The unique identifier for an ingest pipeline.

      API name: pipeline

    • 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
    • rebuild

      public Destination.Builder rebuild()
      Returns:
      New Destination.Builder initialized with field values of this instance
    • setupDestinationDeserializer

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