Class CpuAcct.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CpuAcct.Builder>
co.elastic.clients.elasticsearch.nodes.CpuAcct.Builder
- All Implemented Interfaces:
WithJson<CpuAcct.Builder>
,ObjectBuilder<CpuAcct>
- Enclosing class:
- CpuAcct
public static class CpuAcct.Builder
extends WithJsonObjectBuilderBase<CpuAcct.Builder>
implements ObjectBuilder<CpuAcct>
Builder for
CpuAcct
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aCpuAcct
.final CpuAcct.Builder
controlGroup
(String value) Thecpuacct
control group to which the Elasticsearch process belongs.protected CpuAcct.Builder
self()
final CpuAcct.Builder
usageNanos
(Long value) The total CPU time, in nanoseconds, consumed by all tasks in the same cgroup as the Elasticsearch process.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlGroup
Thecpuacct
control group to which the Elasticsearch process belongs.API name:
control_group
-
usageNanos
The total CPU time, in nanoseconds, consumed by all tasks in the same cgroup as the Elasticsearch process.API name:
usage_nanos
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<CpuAcct.Builder>
-
build
Builds aCpuAcct
.- Specified by:
build
in interfaceObjectBuilder<CpuAcct>
- Throws:
NullPointerException
- if some of the required fields are null.
-