Class Destination.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.reindex.Destination.Builder
- All Implemented Interfaces:
ObjectBuilder<Destination>
- Enclosing class:
- Destination
public static class Destination.Builder extends ObjectBuilderBase implements ObjectBuilder<Destination>
Builder for
Destination.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Destinationbuild()Builds aDestination.Destination.Builderindex(java.lang.String value)Required - API name:indexDestination.BuilderopType(OpType value)API name:op_typeDestination.Builderpipeline(java.lang.String value)API name:pipelineDestination.Builderrouting(java.lang.String value)API name:routingDestination.BuilderversionType(VersionType value)API name:version_typeMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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
Required - API name:index -
opType
API name:op_type -
pipeline
API name:pipeline -
routing
API name:routing -
versionType
API name:version_type -
build
Builds aDestination.- Specified by:
buildin interfaceObjectBuilder<Destination>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-