Class IoStatDevice.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.IoStatDevice.Builder
- All Implemented Interfaces:
CopyableBuilder<IoStatDevice.Builder,,IoStatDevice> MutableBuilder<IoStatDevice.Builder,,IoStatDevice> ObjectBuilder<IoStatDevice>
- Enclosing class:
IoStatDevice
public static class IoStatDevice.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IoStatDevice.Builder,IoStatDevice>
Builder for
IoStatDevice.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIoStatDevice.copy()Create a new builderCopyableBuilderthat is a copy of this one.final IoStatDevice.BuilderdeviceName(String value) The Linux device name.final IoStatDevice.BuilderioTimeInMillis(Long value) API name:io_time_in_millisfinal IoStatDevice.Builderoperations(Long value) The total number of read and write operations for the device completed since starting OpenSearch.final IoStatDevice.BuilderAPI name:queue_sizefinal IoStatDevice.BuilderreadKilobytes(Long value) The total number of kilobytes read for the device since starting OpenSearch.final IoStatDevice.BuilderreadOperations(Long value) The total number of read operations for the device completed since starting OpenSearch.final IoStatDevice.BuilderAPI name:read_timefinal IoStatDevice.BuilderwriteKilobytes(Long value) The total number of kilobytes written for the device since starting OpenSearch.final IoStatDevice.BuilderwriteOperations(Long value) The total number of write operations for the device completed since starting OpenSearch.final IoStatDevice.BuilderAPI name:write_timeMethods 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<IoStatDevice.Builder,IoStatDevice> - Returns:
- a new builder instance.
-
deviceName
The Linux device name.API name:
device_name -
ioTimeInMillis
API name:io_time_in_millis -
operations
The total number of read and write operations for the device completed since starting OpenSearch.API name:
operations -
queueSize
API name:queue_size -
readKilobytes
The total number of kilobytes read for the device since starting OpenSearch.API name:
read_kilobytes -
readOperations
The total number of read operations for the device completed since starting OpenSearch.API name:
read_operations -
readTime
API name:read_time -
writeKilobytes
The total number of kilobytes written for the device since starting OpenSearch.API name:
write_kilobytes -
writeOperations
The total number of write operations for the device completed since starting OpenSearch.API name:
write_operations -
writeTime
API name:write_time -
build
Builds aIoStatDevice.- Specified by:
buildin interfaceObjectBuilder<IoStatDevice>- Throws:
NullPointerException- if some of the required fields are null.
-