Class RemoteSource
java.lang.Object
org.opensearch.client.opensearch.core.reindex.RemoteSource
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RemoteSource.Builder,RemoteSource>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemoteSource
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RemoteSource.Builder,RemoteSource>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteSource> Json deserializer forRemoteSource -
Method Summary
Modifier and TypeMethodDescriptionstatic RemoteSource.Builderbuilder()final TimeAPI name:connect_timeoutbooleaninthashCode()headers()An object containing the headers of the request.final Stringhost()Required - API name:hoststatic RemoteSourcefinal Stringpassword()API name:passwordvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal TimeAPI name:socket_timeoutCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringusername()API name:usernameMethods 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 forRemoteSource
-
-
Method Details
-
of
-
connectTimeout
API name:connect_timeout -
headers
An object containing the headers of the request.API name:
headers -
host
Required - API name:host -
password
API name:password -
socketTimeout
API name:socket_timeout -
username
API name:username -
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<RemoteSource.Builder,RemoteSource> - Returns:
- a new builder instance.
-
builder
-
setupRemoteSourceDeserializer
-
hashCode
public int hashCode() -
equals
-