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) API name:device_name
final IoStatDevice.Builder
operations
(Long value) API name:operations
final IoStatDevice.Builder
readKilobytes
(Long value) API name:read_kilobytes
final IoStatDevice.Builder
readOperations
(Long value) API name:read_operations
protected IoStatDevice.Builder
self()
final IoStatDevice.Builder
writeKilobytes
(Long value) API name:write_kilobytes
final IoStatDevice.Builder
writeOperations
(Long value) API name:write_operations
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
API name:device_name
-
operations
API name:operations
-
readKilobytes
API name:read_kilobytes
-
readOperations
API name:read_operations
-
writeKilobytes
API name:write_kilobytes
-
writeOperations
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.
-