Class NodesInfoRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<NodesInfoRequest.Builder>
co.elastic.clients.elasticsearch.nodes.NodesInfoRequest.Builder
- All Implemented Interfaces:
WithJson<NodesInfoRequest.Builder>,ObjectBuilder<NodesInfoRequest>
- Enclosing class:
- NodesInfoRequest
public static class NodesInfoRequest.Builder
extends RequestBase.AbstractBuilder<NodesInfoRequest.Builder>
implements ObjectBuilder<NodesInfoRequest>
Builder for
NodesInfoRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNodesInfoRequest.final NodesInfoRequest.BuilderflatSettings(Boolean value) If true, returns settings in flat format.final NodesInfoRequest.BuilderLimits the information returned to the specific metrics.final NodesInfoRequest.BuilderLimits the information returned to the specific metrics.final NodesInfoRequest.BuilderComma-separated list of node IDs or names used to limit returned information.final NodesInfoRequest.BuilderComma-separated list of node IDs or names used to limit returned information.protected NodesInfoRequest.Builderself()final NodesInfoRequest.BuilderPeriod to wait for a response.final NodesInfoRequest.BuilderPeriod to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
flatSettings
If true, returns settings in flat format.API name:
flat_settings -
metric
Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.API name:
metricAdds all elements of
listtometric. -
metric
Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.API name:
metricAdds one or more values to
metric. -
nodeId
Comma-separated list of node IDs or names used to limit returned information.API name:
node_idAdds all elements of
listtonodeId. -
nodeId
Comma-separated list of node IDs or names used to limit returned information.API name:
node_idAdds one or more values to
nodeId. -
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 -
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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<NodesInfoRequest.Builder>
-
build
Builds aNodesInfoRequest.- Specified by:
buildin interfaceObjectBuilder<NodesInfoRequest>- Throws:
NullPointerException- if some of the required fields are null.
-