Class ClusterRemoteSniffInfo
java.lang.Object
co.elastic.clients.elasticsearch.cluster.remote_info.ClusterRemoteSniffInfo
- All Implemented Interfaces:
ClusterRemoteInfoVariant,JsonpSerializable
@JsonpDeserializable public class ClusterRemoteSniffInfo extends java.lang.Object implements ClusterRemoteInfoVariant, JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterRemoteSniffInfo.BuilderBuilder forClusterRemoteSniffInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterRemoteSniffInfo>_DESERIALIZERJson deserializer forClusterRemoteSniffInfo -
Method Summary
Modifier and Type Method Description ClusterRemoteInfo.Kind_clusterRemoteInfoKind()ClusterRemoteInfo variant kind.booleanconnected()Required - API name:connectedTimeinitialConnectTimeout()Required - API name:initial_connect_timeoutintmaxConnectionsPerCluster()Required - API name:max_connections_per_clusterlongnumNodesConnected()Required - API name:num_nodes_connectedstatic ClusterRemoteSniffInfoof(java.util.function.Function<ClusterRemoteSniffInfo.Builder,ObjectBuilder<ClusterRemoteSniffInfo>> fn)java.util.List<java.lang.String>seeds()Required - API name:seedsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterRemoteSniffInfoDeserializer(ObjectDeserializer<ClusterRemoteSniffInfo.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 forClusterRemoteSniffInfo
-
-
Method Details
-
of
public static ClusterRemoteSniffInfo of(java.util.function.Function<ClusterRemoteSniffInfo.Builder,ObjectBuilder<ClusterRemoteSniffInfo>> fn) -
_clusterRemoteInfoKind
ClusterRemoteInfo variant kind.- Specified by:
_clusterRemoteInfoKindin interfaceClusterRemoteInfoVariant
-
connected
public final boolean connected()Required - API name:connected -
maxConnectionsPerCluster
public final int maxConnectionsPerCluster()Required - API name:max_connections_per_cluster -
numNodesConnected
public final long numNodesConnected()Required - API name:num_nodes_connected -
initialConnectTimeout
Required - API name:initial_connect_timeout -
seeds
public final java.util.List<java.lang.String> seeds()Required - API name:seeds -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupClusterRemoteSniffInfoDeserializer
protected static void setupClusterRemoteSniffInfoDeserializer(ObjectDeserializer<ClusterRemoteSniffInfo.Builder> op)
-