Class FileSystem.Builder
java.lang.Object
org.opensearch.client.opensearch.nodes.FileSystem.Builder
- All Implemented Interfaces:
ObjectBuilder<FileSystem>
- Enclosing class:
- FileSystem
public static class FileSystem.Builder extends java.lang.Object implements ObjectBuilder<FileSystem>
Builder for
FileSystem.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FileSystem.BuilderaddData(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)Add a value todata(List), creating the list if needed.FileSystem.BuilderaddData(DataPathStats value)Add a value todata(List), creating the list if needed.FileSystembuild()Builds aFileSystem.FileSystem.Builderdata(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)Setdata(List)to a singleton list.FileSystem.Builderdata(java.util.List<DataPathStats> value)API name:dataFileSystem.Builderdata(DataPathStats... value)API name:dataFileSystem.Buildertimestamp(java.lang.Number value)API name:timestampFileSystem.Buildertotal(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)API name:totalFileSystem.Buildertotal(FileSystemTotal value)API name:total
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
API name:data -
data
API name:data -
addData
Add a value todata(List), creating the list if needed. -
data
public FileSystem.Builder data(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)Setdata(List)to a singleton list. -
addData
public FileSystem.Builder addData(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)Add a value todata(List), creating the list if needed. -
timestamp
API name:timestamp -
total
API name:total -
total
public FileSystem.Builder total(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)API name:total -
build
Builds aFileSystem.- Specified by:
buildin interfaceObjectBuilder<FileSystem>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-