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 classClusterRemoteProxyInfo.BuilderBuilder forClusterRemoteProxyInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterRemoteProxyInfo>_DESERIALIZERJson 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()ClusterRemoteInfovariant typebooleanconnected()Required - API name:connectedjava.lang.StringinitialConnectTimeout()Required - API name:initial_connect_timeoutintmaxProxySocketConnections()Required - API name:max_proxy_socket_connectionsintnumProxySocketsConnected()Required - API name:num_proxy_sockets_connectedjava.lang.StringproxyAddress()Required - API name:proxy_addressvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.StringserverName()Required - API name:server_nameprotected static voidsetupClusterRemoteProxyInfoDeserializer(DelegatingDeserializer<ClusterRemoteProxyInfo.Builder> op)booleanskipUnavailable()Required - API name:skip_unavailableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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()ClusterRemoteInfovariant type- Specified by:
_variantTypein 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(DelegatingDeserializer<ClusterRemoteProxyInfo.Builder> op)
-