Class ClusterRemoteProxyInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteProxyInfo
- All Implemented Interfaces:
ClusterRemoteInfoVariant
,JsonpSerializable
@JsonpDeserializable public class ClusterRemoteProxyInfo extends java.lang.Object implements ClusterRemoteInfoVariant, JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description ClusterRemoteInfo.Kind
_clusterRemoteInfoKind()
ClusterRemoteInfo variant kind.boolean
connected()
Required - API name:connected
Time
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
static ClusterRemoteProxyInfo
of(java.util.function.Function<ClusterRemoteProxyInfo.Builder,ObjectBuilder<ClusterRemoteProxyInfo>> fn)
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(ObjectDeserializer<ClusterRemoteProxyInfo.Builder> op)
boolean
skipUnavailable()
Required - API name:skip_unavailable
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteInfoVariant
_toClusterRemoteInfo
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterRemoteProxyInfo
-
-
Method Details
-
of
public static ClusterRemoteProxyInfo of(java.util.function.Function<ClusterRemoteProxyInfo.Builder,ObjectBuilder<ClusterRemoteProxyInfo>> fn) -
_clusterRemoteInfoKind
ClusterRemoteInfo variant kind.- Specified by:
_clusterRemoteInfoKind
in interfaceClusterRemoteInfoVariant
-
connected
public final boolean connected()Required - API name:connected
-
initialConnectTimeout
Required - API name:initial_connect_timeout
-
proxyAddress
public final java.lang.String proxyAddress()Required - API name:proxy_address
-
serverName
public final java.lang.String serverName()Required - API name:server_name
-
numProxySocketsConnected
public final int numProxySocketsConnected()Required - API name:num_proxy_sockets_connected
-
maxProxySocketConnections
public final int maxProxySocketConnections()Required - API name:max_proxy_socket_connections
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(ObjectDeserializer<ClusterRemoteProxyInfo.Builder> op)
-