Class NodesUsageRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.nodes.NodesUsageRequest
- All Implemented Interfaces:
ToCopyableBuilder<NodesUsageRequest.Builder,NodesUsageRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class NodesUsageRequest
extends RequestBase
implements ToCopyableBuilder<NodesUsageRequest.Builder,NodesUsageRequest>
Returns low-level information about REST actions usage on nodes.
-
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<NodesUsageRequest, NodesUsageResponse, ErrorResponse> Endpoint "nodes.usage". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static NodesUsageRequest.Builderbuilder()booleaninthashCode()final List<NodesUsageMetric> metric()Limits the information returned to the specific metrics.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 NodesUsageRequestfinal Timetimeout()Period to wait for a response.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 "nodes.usage".
-
-
Method Details
-
of
public static NodesUsageRequest of(Function<NodesUsageRequest.Builder, ObjectBuilder<NodesUsageRequest>> fn) -
metric
Limits the information returned to the specific metrics. A comma-separated list of the following options:_all,rest_actions.API name:
metric -
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
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.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<NodesUsageRequest.Builder,NodesUsageRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-