Class CacheStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<CacheStatsRequest.Builder>
co.elastic.clients.elasticsearch.searchable_snapshots.CacheStatsRequest.Builder
- All Implemented Interfaces:
WithJson<CacheStatsRequest.Builder>,ObjectBuilder<CacheStatsRequest>
- Enclosing class:
- CacheStatsRequest
public static class CacheStatsRequest.Builder extends RequestBase.AbstractBuilder<CacheStatsRequest.Builder> implements ObjectBuilder<CacheStatsRequest>
Builder for
CacheStatsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CacheStatsRequestbuild()Builds aCacheStatsRequest.CacheStatsRequest.BuildermasterTimeout(Time value)API name:master_timeoutCacheStatsRequest.BuildermasterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:master_timeoutCacheStatsRequest.BuildernodeId(java.lang.String value, java.lang.String... values)A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesCacheStatsRequest.BuildernodeId(java.util.List<java.lang.String> list)A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesprotected CacheStatsRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterTimeout
API name:master_timeout -
masterTimeout
public final CacheStatsRequest.Builder masterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:master_timeout -
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_idAdds all elements of
listtonodeId. -
nodeId
A comma-separated list of node IDs or names to limit the returned information; use_localto return information from the node you're connecting to, leave empty to get information from all nodesAPI name:
node_idAdds one or more values to
nodeId. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<CacheStatsRequest.Builder>
-
build
Builds aCacheStatsRequest.- Specified by:
buildin interfaceObjectBuilder<CacheStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-