Class IoStatDevice.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IoStatDevice.Builder>
co.elastic.clients.elasticsearch.nodes.IoStatDevice.Builder
- All Implemented Interfaces:
WithJson<IoStatDevice.Builder>
,ObjectBuilder<IoStatDevice>
- Enclosing class:
- IoStatDevice
public static class IoStatDevice.Builder
extends WithJsonObjectBuilderBase<IoStatDevice.Builder>
implements ObjectBuilder<IoStatDevice>
Builder for
IoStatDevice
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIoStatDevice
.final IoStatDevice.Builder
deviceName
(String value) The Linux device name.final IoStatDevice.Builder
operations
(Long value) The total number of read and write operations for the device completed since starting Elasticsearch.final IoStatDevice.Builder
readKilobytes
(Long value) The total number of kilobytes read for the device since starting Elasticsearch.final IoStatDevice.Builder
readOperations
(Long value) The total number of read operations for the device completed since starting Elasticsearch.protected IoStatDevice.Builder
self()
final IoStatDevice.Builder
writeKilobytes
(Long value) The total number of kilobytes written for the device since starting Elasticsearch.final IoStatDevice.Builder
writeOperations
(Long value) The total number of write operations for the device completed since starting Elasticsearch.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
-
deviceName
The Linux device name.API name:
device_name
-
operations
The total number of read and write operations for the device completed since starting Elasticsearch.API name:
operations
-
readKilobytes
The total number of kilobytes read for the device since starting Elasticsearch.API name:
read_kilobytes
-
readOperations
The total number of read operations for the device completed since starting Elasticsearch.API name:
read_operations
-
writeKilobytes
The total number of kilobytes written for the device since starting Elasticsearch.API name:
write_kilobytes
-
writeOperations
The total number of write operations for the device completed since starting Elasticsearch.API name:
write_operations
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IoStatDevice.Builder>
-
build
Builds aIoStatDevice
.- Specified by:
build
in interfaceObjectBuilder<IoStatDevice>
- Throws:
NullPointerException
- if some of the required fields are null.
-