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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCgroup.final Cgroup.BuilderContains statistics aboutcpucontrol group for the node.final Cgroup.BuilderContains statistics aboutcpucontrol group for the node.final Cgroup.BuilderContains statistics aboutcpuacctcontrol group for the node.final Cgroup.BuilderContains statistics aboutcpuacctcontrol group for the node.final Cgroup.Buildermemory(CgroupMemory value) Contains statistics about the memory control group for the node.final Cgroup.BuilderContains statistics about the memory control group for the node.protected Cgroup.Builderself()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
-
cpuacct
Contains statistics aboutcpuacctcontrol group for the node.API name:
cpuacct -
cpuacct
Contains statistics aboutcpuacctcontrol group for the node.API name:
cpuacct -
cpu
Contains statistics aboutcpucontrol group for the node.API name:
cpu -
cpu
Contains statistics aboutcpucontrol 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:
selfin classWithJsonObjectBuilderBase<Cgroup.Builder>
-
build
Builds aCgroup.- Specified by:
buildin interfaceObjectBuilder<Cgroup>- Throws:
NullPointerException- if some of the required fields are null.
-