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()API name:connect_timeoutjava.util.Map<java.lang.String,java.lang.String>headers()API name:headersjava.lang.Stringhost()Required - API name:hoststatic RemoteSourceof(java.util.function.Function<RemoteSource.Builder,ObjectBuilder<RemoteSource>> fn)java.lang.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 voidsetupRemoteSourceDeserializer(ObjectDeserializer<RemoteSource.Builder> op)TimesocketTimeout()API name:socket_timeoutjava.lang.StringtoString()java.lang.Stringusername()API name:usernameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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
API name:connect_timeout -
headers
public final java.util.Map<java.lang.String,java.lang.String> headers()API name:headers -
host
public final java.lang.String host()Required - API name:host -
username
@Nullable public final java.lang.String username()API name:username -
password
@Nullable public final java.lang.String password()API name:password -
socketTimeout
API name:socket_timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupRemoteSourceDeserializer
-