Class FileSystemTotal.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FileSystemTotal.Builder>
co.elastic.clients.elasticsearch.nodes.FileSystemTotal.Builder
- All Implemented Interfaces:
WithJson<FileSystemTotal.Builder>
,ObjectBuilder<FileSystemTotal>
- Enclosing class:
- FileSystemTotal
public static class FileSystemTotal.Builder
extends WithJsonObjectBuilderBase<FileSystemTotal.Builder>
implements ObjectBuilder<FileSystemTotal>
Builder for
FileSystemTotal
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal FileSystemTotal.Builder
Total disk space available to this Java virtual machine on all file stores.final FileSystemTotal.Builder
availableInBytes
(Long value) Total number of bytes available to this Java virtual machine on all file stores.build()
Builds aFileSystemTotal
.final FileSystemTotal.Builder
Total unallocated disk space in all file stores.final FileSystemTotal.Builder
freeInBytes
(Long value) Total number of unallocated bytes in all file stores.protected FileSystemTotal.Builder
self()
final FileSystemTotal.Builder
Total size of all file stores.final FileSystemTotal.Builder
totalInBytes
(Long value) Total size of all file stores in bytes.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
-
available
Total disk space available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less thanfree
. This is the actual amount of free disk space the Elasticsearch node can utilise.API name:
available
-
availableInBytes
Total number of bytes available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less thanfree_in_bytes
. This is the actual amount of free disk space the Elasticsearch node can utilise.API name:
available_in_bytes
-
free
Total unallocated disk space in all file stores.API name:
free
-
freeInBytes
Total number of unallocated bytes in all file stores.API name:
free_in_bytes
-
total
Total size of all file stores.API name:
total
-
totalInBytes
Total size of all file stores in bytes.API name:
total_in_bytes
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FileSystemTotal.Builder>
-
build
Builds aFileSystemTotal
.- Specified by:
build
in interfaceObjectBuilder<FileSystemTotal>
- Throws:
NullPointerException
- if some of the required fields are null.
-