Class Destination.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Destination.Builder>
co.elastic.clients.elasticsearch.transform.Destination.Builder
- 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 Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Destination
build()
Builds aDestination
.Destination.Builder
index(java.lang.String value)
The destination index for the transform.Destination.Builder
pipeline(java.lang.String value)
The unique identifier for an ingest pipeline.protected Destination.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
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
The unique identifier for an ingest pipeline.API name:
pipeline
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Destination.Builder>
-
build
Builds aDestination
.- Specified by:
build
in interfaceObjectBuilder<Destination>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-