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()
API name:connect_timeout
java.util.Map<java.lang.String,java.lang.String>
headers()
API name:headers
java.lang.String
host()
Required - API name:host
static RemoteSource
of(java.util.function.Function<RemoteSource.Builder,ObjectBuilder<RemoteSource>> fn)
java.lang.String
password()
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()
API name:socket_timeout
java.lang.String
toString()
java.lang.String
username()
API name:username
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupRemoteSourceDeserializer
-