Class ClusterRemoteProxyInfo
java.lang.Object
org.opensearch.client.opensearch.cluster.remote_info.ClusterRemoteProxyInfo
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ClusterRemoteInfoVariant,ToCopyableBuilder<ClusterRemoteProxyInfo.Builder,ClusterRemoteProxyInfo>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ClusterRemoteProxyInfo
extends Object
implements ClusterRemoteInfoVariant, PlainJsonSerializable, ToCopyableBuilder<ClusterRemoteProxyInfo.Builder,ClusterRemoteProxyInfo>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterRemoteProxyInfo> Json deserializer forClusterRemoteProxyInfo -
Method Summary
Modifier and TypeMethodDescriptionClusterRemoteInfovariant kind.builder()final booleanRequired - API name:connectedbooleaninthashCode()final 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_unavailableCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch.cluster.remote_info.ClusterRemoteInfoVariant
toClusterRemoteInfoMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterRemoteProxyInfo
-
-
Method Details
-
of
public static ClusterRemoteProxyInfo of(Function<ClusterRemoteProxyInfo.Builder, ObjectBuilder<ClusterRemoteProxyInfo>> fn) -
_clusterRemoteInfoKind
ClusterRemoteInfovariant kind.- Specified by:
_clusterRemoteInfoKindin interfaceClusterRemoteInfoVariant
-
connected
public final boolean connected()Required - API name:connected -
initialConnectTimeout
Required - API name:initial_connect_timeout -
maxProxySocketConnections
public final int maxProxySocketConnections()Required - API name:max_proxy_socket_connections -
numProxySocketsConnected
public final int numProxySocketsConnected()Required - API name:num_proxy_sockets_connected -
proxyAddress
Required - API name:proxy_address -
serverName
Required - API name:server_name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterRemoteProxyInfo.Builder,ClusterRemoteProxyInfo> - Returns:
- a new builder instance.
-
builder
-
setupClusterRemoteProxyInfoDeserializer
protected static void setupClusterRemoteProxyInfoDeserializer(ObjectDeserializer<ClusterRemoteProxyInfo.Builder> op) -
hashCode
public int hashCode() -
equals
-