Class RemoteSource.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.reindex.RemoteSource.Builder
- All Implemented Interfaces:
ObjectBuilder<RemoteSource>
- Enclosing class:
- RemoteSource
public static class RemoteSource.Builder extends ObjectBuilderBase implements ObjectBuilder<RemoteSource>
Builder for
RemoteSource.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RemoteSourcebuild()Builds aRemoteSource.RemoteSource.BuilderconnectTimeout(Time value)Required - API name:connect_timeoutRemoteSource.BuilderconnectTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - API name:connect_timeoutRemoteSource.Builderhost(java.lang.String value)Required - API name:hostRemoteSource.Builderpassword(java.lang.String value)Required - API name:passwordRemoteSource.BuildersocketTimeout(Time value)Required - API name:socket_timeoutRemoteSource.BuildersocketTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - API name:socket_timeoutRemoteSource.Builderusername(java.lang.String value)Required - API name:usernameMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectTimeout
Required - API name:connect_timeout -
connectTimeout
public final RemoteSource.Builder connectTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - API name:connect_timeout -
host
Required - API name:host -
username
Required - API name:username -
password
Required - API name:password -
socketTimeout
Required - API name:socket_timeout -
socketTimeout
public final RemoteSource.Builder socketTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Required - API name:socket_timeout -
build
Builds aRemoteSource.- Specified by:
buildin interfaceObjectBuilder<RemoteSource>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-