Class RemoteSource
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.RemoteSource
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteSource>
Json deserializer forRemoteSource
-
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The remote connection timeout.headers()
An object containing the headers of the request.final String
host()
Required - The URL for the remote instance of Elasticsearch that you want to index from.static RemoteSource
final String
password()
The password to use for authentication with the remote host.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
final Time
The remote socket read timeout.toString()
final String
username()
The username to use for authentication with the remote host.
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoteSource
-
-
Method Details
-
of
-
connectTimeout
The remote connection timeout. Defaults to 30 seconds.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.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. Defaults to 30 seconds.API name:
socket_timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupRemoteSourceDeserializer
-