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 class
Destination.Builder
Builder forDestination
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Destination>
_DESERIALIZER
Json deserializer forDestination
-
Method Summary
Modifier and Type Method Description java.lang.String
index()
Required - API name:index
static Destination
of(java.util.function.Function<Destination.Builder,ObjectBuilder<Destination>> fn)
OpType
opType()
API name:op_type
java.lang.String
pipeline()
API name:pipeline
java.lang.String
routing()
API name:routing
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupDestinationDeserializer(ObjectDeserializer<Destination.Builder> op)
java.lang.String
toString()
VersionType
versionType()
API name:version_type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupDestinationDeserializer
-