Class Destination
java.lang.Object
org.opensearch.client.opensearch.core.reindex.Destination
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Destination.Builder,Destination>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Destination
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Destination.Builder,Destination>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Destination> Json deserializer forDestination -
Method Summary
Modifier and TypeMethodDescriptionstatic Destination.Builderbuilder()booleaninthashCode()final Stringindex()Required - API name:indexstatic Destinationfinal OpTypeopType()API name:op_typefinal Stringpipeline()The name of the pipeline to use.final 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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final VersionTypeAPI name:version_typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forDestination
-
-
Method Details
-
of
-
index
Required - API name:index -
opType
API name:op_type -
pipeline
The name of the pipeline to use.API name:
pipeline -
routing
API name:routing -
versionType
API name:version_type -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Destination.Builder,Destination> - Returns:
- a new builder instance.
-
builder
-
setupDestinationDeserializer
-
hashCode
public int hashCode() -
equals
-