Class DestConfig.Builder
- java.lang.Object
-
- org.elasticsearch.client.transform.transforms.DestConfig.Builder
-
- Enclosing class:
- DestConfig
public static class DestConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DestConfigbuild()DestConfig.BuildersetIndex(String index)Sets which index to which to write the dataDestConfig.BuildersetPipeline(String pipeline)Sets the pipeline through which the indexed documents should be processed
-
-
-
Method Detail
-
setIndex
public DestConfig.Builder setIndex(String index)
Sets which index to which to write the data- Parameters:
index- where to write the data- Returns:
- The
DestConfig.Builderwith index set
-
setPipeline
public DestConfig.Builder setPipeline(String pipeline)
Sets the pipeline through which the indexed documents should be processed- Parameters:
pipeline- The pipeline ID- Returns:
- The
DestConfig.Builderwith pipeline set
-
build
public DestConfig build()
-
-