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 classRemoteSource.BuilderBuilder forRemoteSource. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<RemoteSource>_DESERIALIZERJson deserializer forRemoteSource -
Method Summary
Modifier and Type Method Description TimeconnectTimeout()Required - API name:connect_timeoutjava.lang.Stringhost()Required - API name:hoststatic RemoteSourceof(java.util.function.Function<RemoteSource.Builder,ObjectBuilder<RemoteSource>> fn)java.lang.Stringpassword()Required - 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 voidsetupRemoteSourceDeserializer(ObjectDeserializer<RemoteSource.Builder> op)TimesocketTimeout()Required - API name:socket_timeoutjava.lang.Stringusername()Required - API name:usernameMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupRemoteSourceDeserializer
-