Class Destination
- java.lang.Object
-
- org.opensearch.client.opensearch.core.reindex.Destination
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Destination extends java.lang.Object implements JsonpSerializable
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringindex()The destination index for the transform.static Destinationof(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)OpTypeopType()API name:op_typejava.lang.Stringpipeline()The unique identifier for an ingest pipeline.java.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_type
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<Destination> _DESERIALIZER
Json deserializer forDestination
-
-
Method Detail
-
of
public static Destination of(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)
-
index
@Nullable public final java.lang.String 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
-
opType
@Nullable public final OpType opType()
API name:op_type
-
pipeline
@Nullable public final java.lang.String pipeline()
The unique identifier for an ingest pipeline.API name:
pipeline
-
routing
@Nullable public final java.lang.String routing()
API name:routing
-
versionType
@Nullable public final VersionType versionType()
API name:version_type
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupDestinationDeserializer
protected static void setupDestinationDeserializer(ObjectDeserializer<Destination.Builder> op)
-
-