Class RemoteSource
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.RemoteSource
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteSource>Json deserializer forRemoteSource -
Method Summary
Modifier and TypeMethodDescriptionfinal TimeThe remote connection timeout.headers()An object containing the headers of the request.final Stringhost()Required - The URL for the remote instance of Elasticsearch that you want to index from.static RemoteSourcefinal Stringpassword()The password to use for authentication with the remote host.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal TimeThe remote socket read timeout.toString()final Stringusername()The username to use for authentication with the remote host.
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoteSource
-
-
Method Details
-
of
-
connectTimeout
The remote connection timeout.API name:
connect_timeout -
headers
An object containing the headers of the request.API name:
headers -
host
Required - The URL for the remote instance of Elasticsearch that you want to index from. This information is required when you're indexing from remote.API name:
host -
username
The username to use for authentication with the remote host.API name:
username -
password
The password to use for authentication with the remote host.API name:
password -
socketTimeout
The remote socket read timeout.API name:
socket_timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRemoteSourceDeserializer
-