Class ClusterFileSystem.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.cluster.stats.ClusterFileSystem.Builder
- All Implemented Interfaces:
CopyableBuilder<ClusterFileSystem.Builder,,ClusterFileSystem> MutableBuilder<ClusterFileSystem.Builder,,ClusterFileSystem> ObjectBuilder<ClusterFileSystem>
- Enclosing class:
ClusterFileSystem
public static class ClusterFileSystem.Builder
extends ObjectBuilderBase
implements CopyableBuilder<ClusterFileSystem.Builder,ClusterFileSystem>
Builder for
ClusterFileSystem.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTotal number of bytes available to JVM in file stores across all selected nodes.availableInBytes(long value) Required - Total number of bytes available to JVM in file stores across all selected nodes.build()Builds aClusterFileSystem.cacheReserved(String value) Total size, of all cache reserved across all selected nodes.cacheReservedInBytes(Long value) Total size, in bytes, of all cache reserved across all selected nodes.copy()Create a new builderCopyableBuilderthat is a copy of this one.Total number of unallocated bytes in file stores across all selected nodes.freeInBytes(long value) Required - Total number of unallocated bytes in file stores across all selected nodes.Total size, of all file stores across all selected nodes.totalInBytes(long value) Required - Total size, in bytes, of all file stores across all 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<ClusterFileSystem.Builder,ClusterFileSystem> - Returns:
- a new builder instance.
-
available
Total number of bytes available to JVM in file stores across all selected nodes. Depending on operating system or process-level restrictions, this number may be less thannodes.fs.free_in_byes. This is the actual amount of free disk space the selected OpenSearch nodes can use.API name:
available -
availableInBytes
Required - Total number of bytes available to JVM in file stores across all selected nodes. Depending on operating system or process-level restrictions, this number may be less thannodes.fs.free_in_byes. This is the actual amount of free disk space the selected OpenSearch nodes can use.API name:
available_in_bytes -
cacheReserved
Total size, of all cache reserved across all selected nodes.API name:
cache_reserved -
cacheReservedInBytes
Total size, in bytes, of all cache reserved across all selected nodes.API name:
cache_reserved_in_bytes -
free
Total number of unallocated bytes in file stores across all selected nodes.API name:
free -
freeInBytes
Required - Total number of unallocated bytes in file stores across all selected nodes.API name:
free_in_bytes -
total
Total size, of all file stores across all selected nodes.API name:
total -
totalInBytes
Required - Total size, in bytes, of all file stores across all selected nodes.API name:
total_in_bytes -
build
Builds aClusterFileSystem.- Specified by:
buildin interfaceObjectBuilder<ClusterFileSystem>- Throws:
NullPointerException- if some of the required fields are null.
-