Class RemoteSource
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.RemoteSource
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class RemoteSource extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RemoteSource.Builder
Builder forRemoteSource
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RemoteSource>
_DESERIALIZER
Json deserializer forRemoteSource
-
Method Summary
Modifier and Type Method Description Time
connectTimeout()
Required - API name:connect_timeout
java.lang.String
host()
Required - API name:host
static RemoteSource
of(java.util.function.Function<RemoteSource.Builder,ObjectBuilder<RemoteSource>> fn)
java.lang.String
password()
Required - API name:password
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
setupRemoteSourceDeserializer(ObjectDeserializer<RemoteSource.Builder> op)
Time
socketTimeout()
Required - API name:socket_timeout
java.lang.String
username()
Required - API name:username
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoteSource
-
-
Method Details
-
of
public static RemoteSource of(java.util.function.Function<RemoteSource.Builder,ObjectBuilder<RemoteSource>> fn) -
connectTimeout
Required - API name:connect_timeout
-
host
public final java.lang.String host()Required - API name:host
-
username
public final java.lang.String username()Required - API name:username
-
password
public final java.lang.String password()Required - API name:password
-
socketTimeout
Required - API name:socket_timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupRemoteSourceDeserializer
-