Class GetMemoryStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetMemoryStatsRequest.Builder>
co.elastic.clients.elasticsearch.ml.GetMemoryStatsRequest.Builder
- All Implemented Interfaces:
- WithJson<GetMemoryStatsRequest.Builder>,- ObjectBuilder<GetMemoryStatsRequest>
- Enclosing class:
- GetMemoryStatsRequest
public static class GetMemoryStatsRequest.Builder
extends RequestBase.AbstractBuilder<GetMemoryStatsRequest.Builder>
implements ObjectBuilder<GetMemoryStatsRequest>
Builder for 
GetMemoryStatsRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGetMemoryStatsRequest.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.The names of particular nodes in the cluster to target.protected GetMemoryStatsRequest.Builderself()Period to wait for a response.Period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
masterTimeoutPeriod 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
- 
masterTimeoutpublic final GetMemoryStatsRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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
- 
nodeIdThe names of particular nodes in the cluster to target. For example,nodeId1,nodeId2orml:trueAPI name: node_id
- 
timeoutPeriod to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name: timeout
- 
timeoutPeriod 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 class- RequestBase.AbstractBuilder<GetMemoryStatsRequest.Builder>
 
- 
buildBuilds aGetMemoryStatsRequest.- Specified by:
- buildin interface- ObjectBuilder<GetMemoryStatsRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-