Class DestConfig.Builder

java.lang.Object
org.elasticsearch.client.transform.transforms.DestConfig.Builder
Enclosing class:
DestConfig

public static class DestConfig.Builder
extends java.lang.Object
  • Constructor Summary

    Constructors
    Constructor Description
    Builder()  
  • Method Summary

    Modifier and Type Method Description
    DestConfig build()  
    DestConfig.Builder setIndex​(java.lang.String index)
    Sets which index to which to write the data
    DestConfig.Builder setPipeline​(java.lang.String pipeline)
    Sets the pipeline through which the indexed documents should be processed

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • setIndex

      public DestConfig.Builder setIndex​(java.lang.String index)
      Sets which index to which to write the data
      Parameters:
      index - where to write the data
      Returns:
      The DestConfig.Builder with index set
    • setPipeline

      public DestConfig.Builder setPipeline​(java.lang.String pipeline)
      Sets the pipeline through which the indexed documents should be processed
      Parameters:
      pipeline - The pipeline ID
      Returns:
      The DestConfig.Builder with pipeline set
    • build

      public DestConfig build()