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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FileSystembuild()Builds aFileSystem.FileSystem.Builderdata(DataPathStats value, DataPathStats... values)API name:dataFileSystem.Builderdata(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)API name:dataFileSystem.Builderdata(java.util.List<DataPathStats> list)API name:dataFileSystem.BuilderioStats(IoStats value)API name:io_statsFileSystem.BuilderioStats(java.util.function.Function<IoStats.Builder,ObjectBuilder<IoStats>> fn)API name:io_statsprotected FileSystem.Builderself()FileSystem.Buildertimestamp(java.lang.Long value)API name:timestampFileSystem.Buildertotal(FileSystemTotal value)API name:totalFileSystem.Buildertotal(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)API name:totalMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
API name:dataAdds all elements of
listtodata. -
data
API name:dataAdds one or more values to
data. -
data
public final FileSystem.Builder data(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)API name:dataAdds a value to
datausing a builder lambda. -
timestamp
API name:timestamp -
total
API name:total -
total
public final FileSystem.Builder total(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)API name:total -
ioStats
API name:io_stats -
ioStats
public final FileSystem.Builder ioStats(java.util.function.Function<IoStats.Builder,ObjectBuilder<IoStats>> fn)API name:io_stats -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FileSystem.Builder>
-
build
Builds aFileSystem.- Specified by:
buildin interfaceObjectBuilder<FileSystem>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-