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 FileSystem
build()
Builds aFileSystem
.FileSystem.Builder
data(DataPathStats value, DataPathStats... values)
API name:data
FileSystem.Builder
data(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)
API name:data
FileSystem.Builder
data(java.util.List<DataPathStats> list)
API name:data
FileSystem.Builder
ioStats(IoStats value)
API name:io_stats
FileSystem.Builder
ioStats(java.util.function.Function<IoStats.Builder,ObjectBuilder<IoStats>> fn)
API name:io_stats
protected FileSystem.Builder
self()
FileSystem.Builder
timestamp(java.lang.Long value)
API name:timestamp
FileSystem.Builder
total(FileSystemTotal value)
API name:total
FileSystem.Builder
total(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)
API name:total
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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:data
Adds all elements of
list
todata
. -
data
API name:data
Adds one or more values to
data
. -
data
public final FileSystem.Builder data(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)API name:data
Adds a value to
data
using 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:
self
in classWithJsonObjectBuilderBase<FileSystem.Builder>
-
build
Builds aFileSystem
.- Specified by:
build
in interfaceObjectBuilder<FileSystem>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-