Class Destination.Builder

java.lang.Object
All Implemented Interfaces:
WithJson<Destination.Builder>, ObjectBuilder<Destination>
Enclosing class:
Destination

public static class Destination.Builder
extends WithJsonObjectBuilderBase<Destination.Builder>
implements ObjectBuilder<Destination>
Builder for Destination.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • index

      public final Destination.Builder index​(@Nullable java.lang.String value)
      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

      public final Destination.Builder pipeline​(@Nullable java.lang.String value)
      The unique identifier for an ingest pipeline.

      API name: pipeline

    • self

      protected Destination.Builder self()
      Specified by:
      self in class WithJsonObjectBuilderBase<Destination.Builder>
    • build

      public Destination build()
      Builds a Destination.
      Specified by:
      build in interface ObjectBuilder<Destination>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.