Class Cgroup.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Cgroup.Builder>
co.elastic.clients.elasticsearch.nodes.Cgroup.Builder
- All Implemented Interfaces:
WithJson<Cgroup.Builder>
,ObjectBuilder<Cgroup>
- Enclosing class:
- Cgroup
public static class Cgroup.Builder
extends WithJsonObjectBuilderBase<Cgroup.Builder>
implements ObjectBuilder<Cgroup>
Builder for
Cgroup
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aCgroup
.final Cgroup.Builder
Contains statistics aboutcpu
control group for the node.final Cgroup.Builder
Contains statistics aboutcpu
control group for the node.final Cgroup.Builder
Contains statistics aboutcpuacct
control group for the node.final Cgroup.Builder
Contains statistics aboutcpuacct
control group for the node.final Cgroup.Builder
memory
(CgroupMemory value) Contains statistics about the memory control group for the node.final Cgroup.Builder
Contains statistics about the memory control group for the node.protected Cgroup.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
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cpuacct
Contains statistics aboutcpuacct
control group for the node.API name:
cpuacct
-
cpuacct
Contains statistics aboutcpuacct
control group for the node.API name:
cpuacct
-
cpu
Contains statistics aboutcpu
control group for the node.API name:
cpu
-
cpu
Contains statistics aboutcpu
control group for the node.API name:
cpu
-
memory
Contains statistics about the memory control group for the node.API name:
memory
-
memory
Contains statistics about the memory control group for the node.API name:
memory
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<Cgroup.Builder>
-
build
Builds aCgroup
.- Specified by:
build
in interfaceObjectBuilder<Cgroup>
- Throws:
NullPointerException
- if some of the required fields are null.
-