Class ClusterRemoteProxyInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteProxyInfo
- All Implemented Interfaces:
ClusterRemoteInfoVariant
,JsonpSerializable
,UnionVariant
@JsonpDeserializable public final class ClusterRemoteProxyInfo extends java.lang.Object implements ClusterRemoteInfoVariant, JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterRemoteProxyInfo.Builder
Builder forClusterRemoteProxyInfo
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterRemoteProxyInfo>
_DESERIALIZER
Json deserializer forClusterRemoteProxyInfo
-
Constructor Summary
Constructors Constructor Description ClusterRemoteProxyInfo(ClusterRemoteProxyInfo.Builder builder)
ClusterRemoteProxyInfo(java.util.function.Function<ClusterRemoteProxyInfo.Builder,ClusterRemoteProxyInfo.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
_variantType()
ClusterRemoteInfo
variant typeboolean
connected()
Required - API name:connected
java.lang.String
initialConnectTimeout()
Required - API name:initial_connect_timeout
int
maxProxySocketConnections()
Required - API name:max_proxy_socket_connections
int
numProxySocketsConnected()
Required - API name:num_proxy_sockets_connected
java.lang.String
proxyAddress()
Required - API name:proxy_address
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
java.lang.String
serverName()
Required - API name:server_name
protected static void
setupClusterRemoteProxyInfoDeserializer(DelegatingDeserializer<ClusterRemoteProxyInfo.Builder> op)
boolean
skipUnavailable()
Required - API name:skip_unavailable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteInfoVariant
_toClusterRemoteInfo
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterRemoteProxyInfo
-
-
Constructor Details
-
ClusterRemoteProxyInfo
-
ClusterRemoteProxyInfo
public ClusterRemoteProxyInfo(java.util.function.Function<ClusterRemoteProxyInfo.Builder,ClusterRemoteProxyInfo.Builder> fn)
-
-
Method Details
-
_variantType
public java.lang.String _variantType()ClusterRemoteInfo
variant type- Specified by:
_variantType
in interfaceUnionVariant
-
connected
public boolean connected()Required - API name:connected
-
initialConnectTimeout
public java.lang.String initialConnectTimeout()Required - API name:initial_connect_timeout
-
proxyAddress
public java.lang.String proxyAddress()Required - API name:proxy_address
-
serverName
public java.lang.String serverName()Required - API name:server_name
-
numProxySocketsConnected
public int numProxySocketsConnected()Required - API name:num_proxy_sockets_connected
-
maxProxySocketConnections
public int maxProxySocketConnections()Required - API name:max_proxy_socket_connections
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(DelegatingDeserializer<ClusterRemoteProxyInfo.Builder> op)
-