Class InfoRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.nodes.InfoRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class InfoRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InfoRequest.Builder
Builder forInfoRequest
.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<InfoRequest,InfoResponse,ElasticsearchError>
ENDPOINT
Endpoint "nodes.info
". -
Constructor Summary
Constructors Constructor Description InfoRequest(InfoRequest.Builder builder)
InfoRequest(java.util.function.Function<InfoRequest.Builder,InfoRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.Boolean
flatSettings()
If true, returns settings in flat format.java.lang.String
masterTimeout()
Period to wait for a connection to the master node.java.util.List<java.lang.String>
metric()
Limits the information returned to the specific metrics.java.util.List<java.lang.String>
nodeId()
Comma-separated list of node IDs or names used to limit returned information.java.lang.String
timeout()
Period to wait for a response.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "nodes.info
".
-
-
Constructor Details
-
InfoRequest
-
InfoRequest
-
-
Method Details
-
nodeId
@Nullable public java.util.List<java.lang.String> nodeId()Comma-separated list of node IDs or names used to limit returned information.API name:
node_id
-
metric
@Nullable public java.util.List<java.lang.String> metric()Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.API name:
metric
-
flatSettings
@Nullable public java.lang.Boolean flatSettings()If true, returns settings in flat format.API name:
flat_settings
-
masterTimeout
@Nullable public java.lang.String masterTimeout()Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout
-
timeout
@Nullable public java.lang.String 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
-