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) API name:devicesfinal IoStats.BuilderAPI name:devicesfinal IoStats.Builderdevices(List<IoStatDevice> list) API name:devicesprotected IoStats.Builderself()final IoStats.Buildertotal(IoStatDevice value) API name:totalfinal IoStats.BuilderAPI name:totalMethods 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
API name:devicesAdds all elements of
listtodevices. -
devices
API name:devicesAdds one or more values to
devices. -
devices
API name:devicesAdds a value to
devicesusing a builder lambda. -
total
API name:total -
total
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.
-