Class UsageRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.nodes.UsageRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class UsageRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UsageRequest.Builder
Builder forUsageRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<UsageRequest,UsageResponse,ElasticsearchError>
ENDPOINT
Endpoint "nodes.usage
". -
Constructor Summary
Constructors Constructor Description UsageRequest(UsageRequest.Builder builder)
UsageRequest(java.util.function.Function<UsageRequest.Builder,UsageRequest.Builder> fn)
-
Method Summary
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_local
to return information from the node you're connecting to, leave empty to get information from all nodesjava.lang.String
timeout()
Explicit operation timeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "nodes.usage
".
-
-
Constructor Details
-
UsageRequest
-
UsageRequest
-
-
Method Details
-
nodeId
@Nullable public java.util.List<java.lang.String> nodeId()A comma-separated list of node IDs or names to limit the returned information; use_local
to return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_id
-
metric
@Nullable public java.util.List<java.lang.String> metric()Limit the information returned to the specified metricsAPI name:
metric
-
timeout
@Nullable public java.lang.String timeout()Explicit operation timeoutAPI name:
timeout
-