Class InfoRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.nodes.InfoRequest
public final class InfoRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInfoRequest.BuilderBuilder forInfoRequest. -
Field Summary
Fields Modifier and Type Field Description static Endpoint<InfoRequest,InfoResponse,OpenSearchError>ENDPOINTEndpoint "nodes.info". -
Constructor Summary
Constructors Modifier Constructor Description protectedInfoRequest(InfoRequest.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.BooleanflatSettings()If true, returns settings in flat format.jakarta.json.JsonValuemasterTimeout()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.lang.StringnodeId()Comma-separated list of node IDs or names used to limit returned information.jakarta.json.JsonValuetimeout()Period to wait for a response.
-
Field Details
-
ENDPOINT
Endpoint "nodes.info".
-
-
Constructor Details
-
Method Details
-
nodeId
@Nullable public 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 jakarta.json.JsonValue 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 jakarta.json.JsonValue 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
-