Class FileSystem.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FileSystem.Builder>
co.elastic.clients.elasticsearch.nodes.FileSystem.Builder
- All Implemented Interfaces:
WithJson<FileSystem.Builder>,ObjectBuilder<FileSystem>
- Enclosing class:
- FileSystem
public static class FileSystem.Builder
extends WithJsonObjectBuilderBase<FileSystem.Builder>
implements ObjectBuilder<FileSystem>
Builder for
FileSystem.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFileSystem.final FileSystem.Builderdata(DataPathStats value, DataPathStats... values) List of all file stores.final FileSystem.BuilderList of all file stores.final FileSystem.Builderdata(List<DataPathStats> list) List of all file stores.final FileSystem.BuilderContains I/O statistics for the node.final FileSystem.BuilderContains I/O statistics for the node.protected FileSystem.Builderself()final FileSystem.BuilderLast time the file stores statistics were refreshed.final FileSystem.Buildertotal(FileSystemTotal value) Contains statistics for all file stores of the node.final FileSystem.BuilderContains statistics for all file stores of the node.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
-
data
List of all file stores.API name:
dataAdds all elements of
listtodata. -
data
List of all file stores.API name:
dataAdds one or more values to
data. -
data
public final FileSystem.Builder data(Function<DataPathStats.Builder, ObjectBuilder<DataPathStats>> fn) List of all file stores.API name:
dataAdds a value to
datausing a builder lambda. -
timestamp
Last time the file stores statistics were refreshed. Recorded in milliseconds since the Unix Epoch.API name:
timestamp -
total
Contains statistics for all file stores of the node.API name:
total -
total
public final FileSystem.Builder total(Function<FileSystemTotal.Builder, ObjectBuilder<FileSystemTotal>> fn) Contains statistics for all file stores of the node.API name:
total -
ioStats
Contains I/O statistics for the node.API name:
io_stats -
ioStats
Contains I/O statistics for the node.API name:
io_stats -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FileSystem.Builder>
-
build
Builds aFileSystem.- Specified by:
buildin interfaceObjectBuilder<FileSystem>- Throws:
NullPointerException- if some of the required fields are null.
-