Class ClusterRemoteProxyInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClusterRemoteProxyInfo.Builder>
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteProxyInfo.Builder
- All Implemented Interfaces:
WithJson<ClusterRemoteProxyInfo.Builder>
,ObjectBuilder<ClusterRemoteProxyInfo>
- Enclosing class:
- ClusterRemoteProxyInfo
public static class ClusterRemoteProxyInfo.Builder
extends WithJsonObjectBuilderBase<ClusterRemoteProxyInfo.Builder>
implements ObjectBuilder<ClusterRemoteProxyInfo>
Builder for
ClusterRemoteProxyInfo
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aClusterRemoteProxyInfo
.connected
(boolean value) Required - API name:connected
initialConnectTimeout
(Time value) Required - API name:initial_connect_timeout
Required - API name:initial_connect_timeout
maxProxySocketConnections
(int value) Required - API name:max_proxy_socket_connections
numProxySocketsConnected
(int value) Required - API name:num_proxy_sockets_connected
proxyAddress
(String value) Required - API name:proxy_address
protected ClusterRemoteProxyInfo.Builder
self()
serverName
(String value) Required - API name:server_name
skipUnavailable
(boolean value) Required - API name:skip_unavailable
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connected
Required - API name:connected
-
initialConnectTimeout
Required - API name:initial_connect_timeout
-
initialConnectTimeout
public final ClusterRemoteProxyInfo.Builder initialConnectTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Required - API name:initial_connect_timeout
-
proxyAddress
Required - API name:proxy_address
-
serverName
Required - API name:server_name
-
numProxySocketsConnected
Required - API name:num_proxy_sockets_connected
-
maxProxySocketConnections
Required - API name:max_proxy_socket_connections
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ClusterRemoteProxyInfo.Builder>
-
build
Builds aClusterRemoteProxyInfo
.- Specified by:
build
in interfaceObjectBuilder<ClusterRemoteProxyInfo>
- Throws:
NullPointerException
- if some of the required fields are null.
-