Class ClusterStatsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.cluster.ClusterStatsRequest
- All Implemented Interfaces:
ToCopyableBuilder<ClusterStatsRequest.Builder,ClusterStatsRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class ClusterStatsRequest
extends RequestBase
implements ToCopyableBuilder<ClusterStatsRequest.Builder,ClusterStatsRequest>
Returns a high-level overview of cluster statistics.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<ClusterStatsRequest, ClusterStatsResponse, ErrorResponse> Endpoint "cluster.stats". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static ClusterStatsRequest.Builderbuilder()booleanfinal BooleanWhether to return settings in the flat form, which can improve readability, especially for heavily nested settings.inthashCode()final List<IndexMetric> A comma-separated list of index metric groups, for example,docs,store.metric()Limit the information returned to the specified metrics.nodeId()A comma-separated list of node IDs used to filter results.static ClusterStatsRequestfinal Timetimeout()The amount of time to wait for each node to respond.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "cluster.stats".
-
-
Method Details
-
of
public static ClusterStatsRequest of(Function<ClusterStatsRequest.Builder, ObjectBuilder<ClusterStatsRequest>> fn) -
flatSettings
Whether to return settings in the flat form, which can improve readability, especially for heavily nested settings. For example, the flat form of"cluster": { "max_shards_per_node": 500 }is"cluster.max_shards_per_node": "500".API name:
flat_settings -
indexMetric
-
metric
Limit the information returned to the specified metrics.API name:
metric -
nodeId
A comma-separated list of node IDs used to filter results. Supports node filters.API name:
node_id -
timeout
The amount of time to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response's_nodes.failedproperty. Defaults to no timeout.API name:
timeout -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ClusterStatsRequest.Builder,ClusterStatsRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-