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 NodeProcessInfo
build()
Builds aNodeProcessInfo
.NodeProcessInfo.Builder
id(long value)
Required - Process identifier (PID)NodeProcessInfo.Builder
mlockall(boolean value)
Required - Indicates if the process address space has been successfully locked in memoryNodeProcessInfo.Builder
refreshIntervalInMillis(long value)
Required - Refresh interval for the process statisticsprotected NodeProcessInfo.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:
self
in classWithJsonObjectBuilderBase<NodeProcessInfo.Builder>
-
build
Builds aNodeProcessInfo
.- Specified by:
build
in interfaceObjectBuilder<NodeProcessInfo>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-