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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIoStatDevice.final IoStatDevice.BuilderdeviceName(String value) The Linux device name.final IoStatDevice.Builderoperations(Long value) The total number of read and write operations for the device completed since starting Elasticsearch.final IoStatDevice.BuilderreadKilobytes(Long value) The total number of kilobytes read for the device since starting Elasticsearch.final IoStatDevice.BuilderreadOperations(Long value) The total number of read operations for the device completed since starting Elasticsearch.protected IoStatDevice.Builderself()final IoStatDevice.BuilderwriteKilobytes(Long value) The total number of kilobytes written for the device since starting Elasticsearch.final IoStatDevice.BuilderwriteOperations(Long value) The total number of write operations for the device completed since starting Elasticsearch.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<IoStatDevice.Builder>
-
build
Builds aIoStatDevice.- Specified by:
buildin interfaceObjectBuilder<IoStatDevice>- Throws:
NullPointerException- if some of the required fields are null.
-