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 Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description IoStatDevice
build()
Builds aIoStatDevice
.IoStatDevice.Builder
deviceName(java.lang.String value)
API name:device_name
IoStatDevice.Builder
operations(java.lang.Long value)
API name:operations
IoStatDevice.Builder
readKilobytes(java.lang.Long value)
API name:read_kilobytes
IoStatDevice.Builder
readOperations(java.lang.Long value)
API name:read_operations
protected IoStatDevice.Builder
self()
IoStatDevice.Builder
writeKilobytes(java.lang.Long value)
API name:write_kilobytes
IoStatDevice.Builder
writeOperations(java.lang.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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:
java.lang.NullPointerException
- if some of the required fields are null.
-