Class ClusterOperatingSystemName.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClusterOperatingSystemName.Builder>
co.elastic.clients.elasticsearch.cluster.stats.ClusterOperatingSystemName.Builder
- All Implemented Interfaces:
WithJson<ClusterOperatingSystemName.Builder>
,ObjectBuilder<ClusterOperatingSystemName>
- Enclosing class:
- ClusterOperatingSystemName
public static class ClusterOperatingSystemName.Builder
extends WithJsonObjectBuilderBase<ClusterOperatingSystemName.Builder>
implements ObjectBuilder<ClusterOperatingSystemName>
Builder for
ClusterOperatingSystemName
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aClusterOperatingSystemName
.count
(int value) Required - Number of selected nodes using the operating system.Required - Name of an operating system used by one or more selected nodes.protected ClusterOperatingSystemName.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
-
count
Required - Number of selected nodes using the operating system.API name:
count
-
name
Required - Name of an operating system used by one or more selected nodes.API name:
name
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ClusterOperatingSystemName.Builder>
-
build
Builds aClusterOperatingSystemName
.- Specified by:
build
in interfaceObjectBuilder<ClusterOperatingSystemName>
- Throws:
NullPointerException
- if some of the required fields are null.
-