Class ClusterRemoteProxyInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteProxyInfo
- All Implemented Interfaces:
ClusterRemoteInfoVariant,JsonpSerializable
@JsonpDeserializable
public class ClusterRemoteProxyInfo
extends Object
implements ClusterRemoteInfoVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterRemoteProxyInfo>Json deserializer forClusterRemoteProxyInfo -
Method Summary
Modifier and TypeMethodDescriptionClusterRemoteInfo variant kind.final booleanRequired - API name:connectedfinal TimeRequired - API name:initial_connect_timeoutfinal intRequired - API name:max_proxy_socket_connectionsfinal intRequired - API name:num_proxy_sockets_connectedstatic ClusterRemoteProxyInfofinal StringRequired - 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) final StringRequired - API name:server_nameprotected static voidfinal booleanRequired - API name:skip_unavailabletoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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(Function<ClusterRemoteProxyInfo.Builder, ObjectBuilder<ClusterRemoteProxyInfo>> fn) -
_clusterRemoteInfoKind
ClusterRemoteInfo variant kind.- Specified by:
_clusterRemoteInfoKindin interfaceClusterRemoteInfoVariant
-
connected
public final boolean connected()Required - API name:connected -
initialConnectTimeout
Required - API name:initial_connect_timeout -
proxyAddress
Required - API name:proxy_address -
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(ObjectDeserializer<ClusterRemoteProxyInfo.Builder> op)
-