Class FileSystem.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.nodes.FileSystem.Builder
-
- All Implemented Interfaces:
ObjectBuilder<FileSystem>
- Enclosing class:
- FileSystem
public static class FileSystem.Builder extends ObjectBuilderBase implements ObjectBuilder<FileSystem>
Builder forFileSystem
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystem
build()
Builds aFileSystem
.FileSystem.Builder
data(java.util.function.Function<DataPathStats.Builder,ObjectBuilder<DataPathStats>> fn)
Required - API name:data
FileSystem.Builder
data(java.util.List<DataPathStats> list)
Required - API name:data
FileSystem.Builder
data(DataPathStats value, DataPathStats... values)
Required - API name:data
FileSystem.Builder
timestamp(long value)
Required - API name:timestamp
FileSystem.Builder
total(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)
Required - API name:total
FileSystem.Builder
total(FileSystemTotal value)
Required - API name:total
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
data
public final FileSystem.Builder data(java.util.List<DataPathStats> list)
Required - API name:data
Adds all elements of
list
todata
.
-
data
public final FileSystem.Builder data(DataPathStats value, DataPathStats... values)
Required - 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)
Required - API name:data
Adds a value to
data
using a builder lambda.
-
timestamp
public final FileSystem.Builder timestamp(long value)
Required - API name:timestamp
-
total
public final FileSystem.Builder total(FileSystemTotal value)
Required - API name:total
-
total
public final FileSystem.Builder total(java.util.function.Function<FileSystemTotal.Builder,ObjectBuilder<FileSystemTotal>> fn)
Required - API name:total
-
build
public FileSystem build()
Builds aFileSystem
.- Specified by:
build
in interfaceObjectBuilder<FileSystem>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-