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.BuildercontrolGroup(String value) Thecpuacctcontrol group to which the Elasticsearch process belongs.protected CpuAcct.Builderself()final CpuAcct.BuilderusageNanos(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
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
controlGroup
Thecpuacctcontrol 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:
selfin classWithJsonObjectBuilderBase<CpuAcct.Builder>
-
build
Builds aCpuAcct.- Specified by:
buildin interfaceObjectBuilder<CpuAcct>- Throws:
NullPointerException- if some of the required fields are null.
-