Class NodesUsageRequest
- java.lang.Object
-
- org.opensearch.client.opensearch._types.RequestBase
-
- org.opensearch.client.opensearch.nodes.NodesUsageRequest
-
public class NodesUsageRequest extends RequestBase
Returns low-level information about REST actions usage on nodes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodesUsageRequest.BuilderBuilder forNodesUsageRequest.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<NodesUsageRequest,NodesUsageResponse,ErrorResponse>_ENDPOINTEndpoint "nodes.usage".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>metric()Limit the information returned to the specified metricsjava.util.List<java.lang.String>nodeId()A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesstatic NodesUsageRequestof(java.util.function.Function<NodesUsageRequest.Builder,ObjectBuilder<NodesUsageRequest>> fn)Timetimeout()Explicit operation timeout
-
-
-
Field Detail
-
_ENDPOINT
public static final Endpoint<NodesUsageRequest,NodesUsageResponse,ErrorResponse> _ENDPOINT
Endpoint "nodes.usage".
-
-
Method Detail
-
of
public static NodesUsageRequest of(java.util.function.Function<NodesUsageRequest.Builder,ObjectBuilder<NodesUsageRequest>> fn)
-
metric
public final java.util.List<java.lang.String> metric()
Limit the information returned to the specified metricsAPI name:
metric
-
nodeId
public final java.util.List<java.lang.String> nodeId()
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_id
-
timeout
@Nullable public final Time timeout()
Explicit operation timeoutAPI name:
timeout
-
-