Class Destination
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.Destination
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Destination extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDestination.BuilderBuilder forDestination. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Destination>_DESERIALIZERJson deserializer forDestination -
Method Summary
Modifier and Type Method Description java.lang.Stringindex()Required - API name:indexstatic Destinationof(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)OpTypeopType()API name:op_typejava.lang.Stringpipeline()API name:pipelinejava.lang.Stringrouting()API name:routingvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupDestinationDeserializer(ObjectDeserializer<Destination.Builder> op)VersionTypeversionType()API name:version_typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forDestination
-
-
Method Details
-
of
public static Destination of(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn) -
index
public final java.lang.String index()Required - API name:index -
opType
API name:op_type -
pipeline
@Nullable public final java.lang.String pipeline()API name:pipeline -
routing
@Nullable public final java.lang.String routing()API name:routing -
versionType
API name:version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupDestinationDeserializer
-