Class NodeProcessInfo.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<NodeProcessInfo.Builder>
co.elastic.clients.elasticsearch.nodes.info.NodeProcessInfo.Builder
- All Implemented Interfaces:
WithJson<NodeProcessInfo.Builder>,ObjectBuilder<NodeProcessInfo>
- Enclosing class:
- NodeProcessInfo
public static class NodeProcessInfo.Builder extends WithJsonObjectBuilderBase<NodeProcessInfo.Builder> implements ObjectBuilder<NodeProcessInfo>
Builder for
NodeProcessInfo.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description NodeProcessInfobuild()Builds aNodeProcessInfo.NodeProcessInfo.Builderid(long value)Required - Process identifier (PID)NodeProcessInfo.Buildermlockall(boolean value)Required - Indicates if the process address space has been successfully locked in memoryNodeProcessInfo.BuilderrefreshIntervalInMillis(long value)Required - Refresh interval for the process statisticsprotected NodeProcessInfo.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
-
id
Required - Process identifier (PID)API name:
id -
mlockall
Required - Indicates if the process address space has been successfully locked in memoryAPI name:
mlockall -
refreshIntervalInMillis
Required - Refresh interval for the process statisticsAPI name:
refresh_interval_in_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<NodeProcessInfo.Builder>
-
build
Builds aNodeProcessInfo.- Specified by:
buildin interfaceObjectBuilder<NodeProcessInfo>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-