Class DataPathStats.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.DataPathStats.Builder
- All Implemented Interfaces:
CopyableBuilder<DataPathStats.Builder,,DataPathStats> MutableBuilder<DataPathStats.Builder,,DataPathStats> ObjectBuilder<DataPathStats>
- Enclosing class:
DataPathStats
public static class DataPathStats.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DataPathStats.Builder,DataPathStats>
Builder for
DataPathStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DataPathStats.BuilderTotal amount of disk space available to this Java virtual machine on this file store.final DataPathStats.BuilderavailableInBytes(Long value) Total number of bytes available to this Java virtual machine on this file store.build()Builds aDataPathStats.final DataPathStats.BuildercacheReserved(String value) Total number of cache bytes reserved available to this Java virtual machine on this file store.final DataPathStats.BuildercacheReservedInBytes(Long value) Total number of cache bytes reserved available to this Java virtual machine on this file store.copy()Create a new builderCopyableBuilderthat is a copy of this one.final DataPathStats.BuilderTotal amount of unallocated disk space in the file store.final DataPathStats.BuilderfreeInBytes(Long value) Total number of unallocated bytes in the file store.final DataPathStats.BuilderMount point of the file store (for example:/dev/sda2).final DataPathStats.BuilderPath to the file store.final DataPathStats.BuilderTotal size of the file store.final DataPathStats.BuildertotalInBytes(Long value) Total size of the file store in bytes.final DataPathStats.BuilderType of the file store (ex: ext4).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<DataPathStats.Builder,DataPathStats> - Returns:
- a new builder instance.
-
available
Total amount of disk space available to this Java virtual machine on this file store.API name:
available -
availableInBytes
Total number of bytes available to this Java virtual machine on this file store.API name:
available_in_bytes -
cacheReserved
Total number of cache bytes reserved available to this Java virtual machine on this file store.API name:
cache_reserved -
cacheReservedInBytes
Total number of cache bytes reserved available to this Java virtual machine on this file store.API name:
cache_reserved_in_bytes -
free
Total amount of unallocated disk space in the file store.API name:
free -
freeInBytes
Total number of unallocated bytes in the file store.API name:
free_in_bytes -
mount
Mount point of the file store (for example:/dev/sda2).API name:
mount -
path
Path to the file store.API name:
path -
total
Total size of the file store.API name:
total -
totalInBytes
Total size of the file store in bytes.API name:
total_in_bytes -
type
Type of the file store (ex: ext4).API name:
type -
build
Builds aDataPathStats.- Specified by:
buildin interfaceObjectBuilder<DataPathStats>- Throws:
NullPointerException- if some of the required fields are null.
-