Class DataPathStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<DataPathStats.Builder>
co.elastic.clients.elasticsearch.nodes.DataPathStats.Builder
- All Implemented Interfaces:
WithJson<DataPathStats.Builder>
,ObjectBuilder<DataPathStats>
- Enclosing class:
- DataPathStats
public static class DataPathStats.Builder
extends WithJsonObjectBuilderBase<DataPathStats.Builder>
implements ObjectBuilder<DataPathStats>
Builder for
DataPathStats
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal DataPathStats.Builder
Total amount of disk space available to this Java virtual machine on this file store.final DataPathStats.Builder
availableInBytes
(Long value) Total number of bytes available to this Java virtual machine on this file store.build()
Builds aDataPathStats
.final DataPathStats.Builder
API name:disk_queue
final DataPathStats.Builder
API name:disk_reads
final DataPathStats.Builder
diskReadSize
(String value) API name:disk_read_size
final DataPathStats.Builder
diskReadSizeInBytes
(Long value) API name:disk_read_size_in_bytes
final DataPathStats.Builder
diskWrites
(Long value) API name:disk_writes
final DataPathStats.Builder
diskWriteSize
(String value) API name:disk_write_size
final DataPathStats.Builder
diskWriteSizeInBytes
(Long value) API name:disk_write_size_in_bytes
final DataPathStats.Builder
Total amount of unallocated disk space in the file store.final DataPathStats.Builder
freeInBytes
(Long value) Total number of unallocated bytes in the file store.final DataPathStats.Builder
Mount point of the file store (for example:/dev/sda2
).final DataPathStats.Builder
Path to the file store.protected DataPathStats.Builder
self()
final DataPathStats.Builder
Total size of the file store.final DataPathStats.Builder
totalInBytes
(Long value) Total size of the file store in bytes.final DataPathStats.Builder
Type of the file store (ex: ext4).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 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
-
diskQueue
API name:disk_queue
-
diskReads
API name:disk_reads
-
diskReadSize
API name:disk_read_size
-
diskReadSizeInBytes
API name:disk_read_size_in_bytes
-
diskWrites
API name:disk_writes
-
diskWriteSize
API name:disk_write_size
-
diskWriteSizeInBytes
API name:disk_write_size_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
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<DataPathStats.Builder>
-
build
Builds aDataPathStats
.- Specified by:
build
in interfaceObjectBuilder<DataPathStats>
- Throws:
NullPointerException
- if some of the required fields are null.
-