Class ClusterNodes.Builder
- All Implemented Interfaces:
CopyableBuilder<ClusterNodes.Builder,,ClusterNodes> MutableBuilder<ClusterNodes.Builder,,ClusterNodes> ObjectBuilder<ClusterNodes>
- Enclosing class:
ClusterNodes
ClusterNodes.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aClusterNodes.copy()Create a new builderCopyableBuilderthat is a copy of this one.final ClusterNodes.BuilderContains counts for nodes selected by the request's node filters.final ClusterNodes.Buildercount(ClusterNodeCount value) Contains counts for nodes selected by the request's node filters.final ClusterNodes.BuilderdiscoveryTypes(String key, Integer value) Contains statistics about the discovery types used by selected nodes.final ClusterNodes.BuilderdiscoveryTypes(Map<String, Integer> map) Contains statistics about the discovery types used by selected nodes.final ClusterNodes.BuilderContains statistics about file stores by selected nodes.final ClusterNodes.Builderfs(ClusterFileSystem value) Contains statistics about file stores by selected nodes.final ClusterNodes.BuilderAPI name:indexing_pressurefinal ClusterNodes.BuilderindexingPressure(IndexingPressure value) API name:indexing_pressurefinal ClusterNodes.BuilderAPI name:ingestfinal ClusterNodes.Builderingest(ClusterIngest value) API name:ingestfinal ClusterNodes.BuilderContains statistics about the Java Virtual Machines (JVMs) used by selected nodes.final ClusterNodes.Builderjvm(ClusterJvm value) Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.final ClusterNodes.BuilderContains statistics about the transport and HTTP networks used by selected nodes.final ClusterNodes.BuildernetworkTypes(ClusterNetworkTypes value) Contains statistics about the transport and HTTP networks used by selected nodes.final ClusterNodes.BuilderContains statistics about the operating systems used by selected nodes.final ClusterNodes.Builderos(ClusterOperatingSystem value) Contains statistics about the operating systems used by selected nodes.final ClusterNodes.BuilderContains statistics about OpenSearch distributions installed on selected nodes.final ClusterNodes.BuilderpackagingTypes(List<NodePackagingType> list) Contains statistics about OpenSearch distributions installed on selected nodes.final ClusterNodes.BuilderpackagingTypes(NodePackagingType value, NodePackagingType... values) Contains statistics about OpenSearch distributions installed on selected nodes.final ClusterNodes.BuilderContains statistics about installed plugins and modules by selected nodes.final ClusterNodes.Builderplugins(List<PluginStats> list) Contains statistics about installed plugins and modules by selected nodes.final ClusterNodes.Builderplugins(PluginStats value, PluginStats... values) Contains statistics about installed plugins and modules by selected nodes.final ClusterNodes.BuilderContains statistics about processes used by selected nodes.final ClusterNodes.Builderprocess(ClusterProcess value) Contains statistics about processes used by selected nodes.final ClusterNodes.BuilderArray of OpenSearch versions used on selected nodes.final ClusterNodes.BuilderArray of OpenSearch versions used on selected nodes.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<ClusterNodes.Builder,ClusterNodes> - Returns:
- a new builder instance.
-
count
Contains counts for nodes selected by the request's node filters.API name:
count -
count
@Nonnull public final ClusterNodes.Builder count(Function<ClusterNodeCount.Builder, ObjectBuilder<ClusterNodeCount>> fn) Contains counts for nodes selected by the request's node filters.API name:
count -
discoveryTypes
Contains statistics about the discovery types used by selected nodes.API name:
discovery_typesAdds all elements of
maptodiscoveryTypes. -
discoveryTypes
Contains statistics about the discovery types used by selected nodes.API name:
discovery_typesAdds an entry to
discoveryTypes. -
fs
Contains statistics about file stores by selected nodes.API name:
fs -
fs
@Nonnull public final ClusterNodes.Builder fs(Function<ClusterFileSystem.Builder, ObjectBuilder<ClusterFileSystem>> fn) Contains statistics about file stores by selected nodes.API name:
fs -
indexingPressure
API name:indexing_pressure -
indexingPressure
@Nonnull public final ClusterNodes.Builder indexingPressure(Function<IndexingPressure.Builder, ObjectBuilder<IndexingPressure>> fn) API name:indexing_pressure -
ingest
API name:ingest -
ingest
@Nonnull public final ClusterNodes.Builder ingest(Function<ClusterIngest.Builder, ObjectBuilder<ClusterIngest>> fn) API name:ingest -
jvm
Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.API name:
jvm -
jvm
@Nonnull public final ClusterNodes.Builder jvm(Function<ClusterJvm.Builder, ObjectBuilder<ClusterJvm>> fn) Contains statistics about the Java Virtual Machines (JVMs) used by selected nodes.API name:
jvm -
networkTypes
Contains statistics about the transport and HTTP networks used by selected nodes.API name:
network_types -
networkTypes
@Nonnull public final ClusterNodes.Builder networkTypes(Function<ClusterNetworkTypes.Builder, ObjectBuilder<ClusterNetworkTypes>> fn) Contains statistics about the transport and HTTP networks used by selected nodes.API name:
network_types -
os
Contains statistics about the operating systems used by selected nodes.API name:
os -
os
@Nonnull public final ClusterNodes.Builder os(Function<ClusterOperatingSystem.Builder, ObjectBuilder<ClusterOperatingSystem>> fn) Contains statistics about the operating systems used by selected nodes.API name:
os -
packagingTypes
Contains statistics about OpenSearch distributions installed on selected nodes.API name:
packaging_typesAdds all elements of
listtopackagingTypes. -
packagingTypes
@Nonnull public final ClusterNodes.Builder packagingTypes(NodePackagingType value, NodePackagingType... values) Contains statistics about OpenSearch distributions installed on selected nodes.API name:
packaging_typesAdds one or more values to
packagingTypes. -
packagingTypes
@Nonnull public final ClusterNodes.Builder packagingTypes(Function<NodePackagingType.Builder, ObjectBuilder<NodePackagingType>> fn) Contains statistics about OpenSearch distributions installed on selected nodes.API name:
packaging_typesAdds a value to
packagingTypesusing a builder lambda. -
plugins
Contains statistics about installed plugins and modules by selected nodes. If no plugins or modules are installed, this array is empty.API name:
pluginsAdds all elements of
listtoplugins. -
plugins
Contains statistics about installed plugins and modules by selected nodes. If no plugins or modules are installed, this array is empty.API name:
pluginsAdds one or more values to
plugins. -
plugins
@Nonnull public final ClusterNodes.Builder plugins(Function<PluginStats.Builder, ObjectBuilder<PluginStats>> fn) Contains statistics about installed plugins and modules by selected nodes. If no plugins or modules are installed, this array is empty.API name:
pluginsAdds a value to
pluginsusing a builder lambda. -
process
Contains statistics about processes used by selected nodes.API name:
process -
process
@Nonnull public final ClusterNodes.Builder process(Function<ClusterProcess.Builder, ObjectBuilder<ClusterProcess>> fn) Contains statistics about processes used by selected nodes.API name:
process -
versions
Array of OpenSearch versions used on selected nodes.API name:
versionsAdds all elements of
listtoversions. -
versions
Array of OpenSearch versions used on selected nodes.API name:
versionsAdds one or more values to
versions. -
build
Builds aClusterNodes.- Specified by:
buildin interfaceObjectBuilder<ClusterNodes>- Throws:
NullPointerException- if some of the required fields are null.
-