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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDestination.final Destination.BuilderThe destination index for the transform.final Destination.BuilderThe unique identifier for an ingest pipeline.protected Destination.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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:
selfin classWithJsonObjectBuilderBase<Destination.Builder>
-
build
Builds aDestination.- Specified by:
buildin interfaceObjectBuilder<Destination>- Throws:
NullPointerException- if some of the required fields are null.
-