Class FileSystem.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.nodes.stats.FileSystem.Builder
- All Implemented Interfaces:
CopyableBuilder<FileSystem.Builder,,FileSystem> MutableBuilder<FileSystem.Builder,,FileSystem> ObjectBuilder<FileSystem>
- Enclosing class:
FileSystem
public static class FileSystem.Builder
extends ObjectBuilderBase
implements CopyableBuilder<FileSystem.Builder,FileSystem>
Builder for
FileSystem.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFileSystem.copy()Create a new builderCopyableBuilderthat is a copy of this one.final FileSystem.BuilderList of all file stores.final FileSystem.Builderdata(List<DataPathStats> list) List of all file stores.final FileSystem.Builderdata(DataPathStats value, DataPathStats... values) List of all file stores.final FileSystem.BuilderAPI name:io_statsfinal FileSystem.BuilderAPI name:io_statsfinal FileSystem.BuilderLast time the file stores statistics were refreshed.final FileSystem.BuilderAPI name:totalfinal FileSystem.Buildertotal(FileSystemTotal value) API name:totalMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<FileSystem.Builder,FileSystem> - Returns:
- a new builder instance.
-
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
@Nonnull 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. -
ioStats
API name:io_stats -
ioStats
@Nonnull public final FileSystem.Builder ioStats(Function<IoStats.Builder, ObjectBuilder<IoStats>> fn) API name:io_stats -
timestamp
Last time the file stores statistics were refreshed. Recorded in milliseconds since the Unix Epoch.API name:
timestamp -
total
API name:total -
total
@Nonnull public final FileSystem.Builder total(Function<FileSystemTotal.Builder, ObjectBuilder<FileSystemTotal>> fn) API name:total -
build
Builds aFileSystem.- Specified by:
buildin interfaceObjectBuilder<FileSystem>- Throws:
NullPointerException- if some of the required fields are null.
-