Class ClusterStatsResponse
java.lang.Object
co.elastic.clients.elasticsearch.nodes.NodesResponseBase
co.elastic.clients.elasticsearch.cluster.ClusterStatsResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase
NodesResponseBase.AbstractBuilder<BuilderT extends NodesResponseBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterStatsResponse>
Json deserializer forClusterStatsResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
Required - Name of the cluster, based on the Cluster name setting setting.final String
Required - Unique identifier for the cluster.final ClusterIndices
indices()
Required - Contains statistics about indices with shards assigned to selected nodes.final ClusterNodes
nodes()
Required - Contains statistics about nodes selected by the request’s node filters.static ClusterStatsResponse
protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final HealthStatus
status()
Required - Health status of the cluster, based on the state of its primary and replica shards.final long
Required - Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.Methods inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase
nodeStats, serialize, setupNodesResponseBaseDeserializer, toString
-
Field Details
-
_DESERIALIZER
Json deserializer forClusterStatsResponse
-
-
Method Details
-
of
public static ClusterStatsResponse of(Function<ClusterStatsResponse.Builder, ObjectBuilder<ClusterStatsResponse>> fn) -
clusterName
Required - Name of the cluster, based on the Cluster name setting setting.API name:
cluster_name
-
clusterUuid
Required - Unique identifier for the cluster.API name:
cluster_uuid
-
indices
Required - Contains statistics about indices with shards assigned to selected nodes.API name:
indices
-
nodes
Required - Contains statistics about nodes selected by the request’s node filters.API name:
nodes
-
status
Required - Health status of the cluster, based on the state of its primary and replica shards.API name:
status
-
timestamp
public final long timestamp()Required - Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.API name:
timestamp
-
serializeInternal
- Overrides:
serializeInternal
in classNodesResponseBase
-
setupClusterStatsResponseDeserializer
protected static void setupClusterStatsResponseDeserializer(ObjectDeserializer<ClusterStatsResponse.Builder> op)
-