Class NodesInfoRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.nodes.NodesInfoRequest
- All Implemented Interfaces:
ToCopyableBuilder<NodesInfoRequest.Builder,NodesInfoRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class NodesInfoRequest
extends RequestBase
implements ToCopyableBuilder<NodesInfoRequest.Builder,NodesInfoRequest>
Returns information about nodes in the cluster.
-
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<NodesInfoRequest, NodesInfoResponse, ErrorResponse> Endpoint "nodes.info". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) static NodesInfoRequest.Builderbuilder()booleanfinal BooleanWhentrue, returns settings in flat format.inthashCode()final List<NodesInfoMetric> metric()Limits the information returned to the specific metrics.nodeId()A comma-separated list of node IDs or names used to limit returned information.static NodesInfoRequestfinal Timetimeout()The amount of time 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.info".
-
-
Method Details
-
of
public static NodesInfoRequest of(Function<NodesInfoRequest.Builder, ObjectBuilder<NodesInfoRequest>> fn) -
flatSettings
Whentrue, returns settings in flat format.API name:
flat_settings -
metric
Limits the information returned to the specific metrics. Supports a comma-separated list, such ashttp,ingest.API name:
metric -
nodeId
A comma-separated list of node IDs or names used to limit returned information.API name:
node_id -
timeout
The amount of time 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<NodesInfoRequest.Builder,NodesInfoRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-