Class GetMemoryStatsRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.GetMemoryStatsRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetMemoryStatsRequest>
- Enclosing class:
- GetMemoryStatsRequest
public static class GetMemoryStatsRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetMemoryStatsRequest>
Builder for
GetMemoryStatsRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetMemoryStatsRequestbuild()Builds aGetMemoryStatsRequest.GetMemoryStatsRequest.Builderhuman(java.lang.Boolean value)Specify this query parameter to include the fields with units in the response.GetMemoryStatsRequest.BuildermasterTimeout(Time value)Period to wait for a connection to the master node.GetMemoryStatsRequest.BuildermasterTimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a connection to the master node.GetMemoryStatsRequest.BuildernodeId(java.lang.String value)The names of particular nodes in the cluster to target.GetMemoryStatsRequest.Buildertimeout(Time value)Period to wait for a response.GetMemoryStatsRequest.Buildertimeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Period to wait for a response.Methods 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
-
human
Specify this query parameter to include the fields with units in the response. Otherwise only the_in_bytessizes are returned in the response.API name:
human -
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 -
masterTimeout
public final GetMemoryStatsRequest.Builder masterTimeout(java.util.function.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 -
nodeId
The names of particular nodes in the cluster to target. For example,nodeId1,nodeId2orml:trueAPI name:
node_id -
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
public final GetMemoryStatsRequest.Builder timeout(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)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 -
build
Builds aGetMemoryStatsRequest.- Specified by:
buildin interfaceObjectBuilder<GetMemoryStatsRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-