Class IoStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IoStats.Builder>
co.elastic.clients.elasticsearch.nodes.IoStats.Builder
- All Implemented Interfaces:
WithJson<IoStats.Builder>,ObjectBuilder<IoStats>
- Enclosing class:
- IoStats
public static class IoStats.Builder
extends WithJsonObjectBuilderBase<IoStats.Builder>
implements ObjectBuilder<IoStats>
Builder for
IoStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIoStats.final IoStats.Builderdevices(IoStatDevice value, IoStatDevice... values) Array of disk metrics for each device that is backing an Elasticsearch data path.final IoStats.BuilderArray of disk metrics for each device that is backing an Elasticsearch data path.final IoStats.Builderdevices(List<IoStatDevice> list) Array of disk metrics for each device that is backing an Elasticsearch data path.protected IoStats.Builderself()final IoStats.Buildertotal(IoStatDevice value) The sum of the disk metrics for all devices that back an Elasticsearch data path.final IoStats.BuilderThe sum of the disk metrics for all devices that back an Elasticsearch data path.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
-
devices
Array of disk metrics for each device that is backing an Elasticsearch data path. These disk metrics are probed periodically and averages between the last probe and the current probe are computed.API name:
devicesAdds all elements of
listtodevices. -
devices
Array of disk metrics for each device that is backing an Elasticsearch data path. These disk metrics are probed periodically and averages between the last probe and the current probe are computed.API name:
devicesAdds one or more values to
devices. -
devices
Array of disk metrics for each device that is backing an Elasticsearch data path. These disk metrics are probed periodically and averages between the last probe and the current probe are computed.API name:
devicesAdds a value to
devicesusing a builder lambda. -
total
The sum of the disk metrics for all devices that back an Elasticsearch data path.API name:
total -
total
The sum of the disk metrics for all devices that back an Elasticsearch data path.API name:
total -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<IoStats.Builder>
-
build
Builds aIoStats.- Specified by:
buildin interfaceObjectBuilder<IoStats>- Throws:
NullPointerException- if some of the required fields are null.
-