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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.nodes.NodesResponseBase
NodesResponseBase.AbstractBuilder<BuilderT extends NodesResponseBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ClusterStatsResponse>Json deserializer forClusterStatsResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - Name of the cluster, based on the Cluster name setting setting.final StringRequired - Unique identifier for the cluster.final ClusterIndicesindices()Required - Contains statistics about indices with shards assigned to selected nodes.final ClusterNodesnodes()Required - Contains statistics about nodes selected by the request’s node filters.static ClusterStatsResponseprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal HealthStatusstatus()Required - Health status of the cluster, based on the state of its primary and replica shards.final longRequired - 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:
serializeInternalin classNodesResponseBase
-
setupClusterStatsResponseDeserializer
protected static void setupClusterStatsResponseDeserializer(ObjectDeserializer<ClusterStatsResponse.Builder> op)
-