Class FileCountSnapshotStats.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.snapshot.FileCountSnapshotStats.Builder
-
- All Implemented Interfaces:
ObjectBuilder<FileCountSnapshotStats>
- Enclosing class:
- FileCountSnapshotStats
public static class FileCountSnapshotStats.Builder extends ObjectBuilderBase implements ObjectBuilder<FileCountSnapshotStats>
Builder forFileCountSnapshotStats.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileCountSnapshotStatsbuild()Builds aFileCountSnapshotStats.FileCountSnapshotStats.BuilderfileCount(int value)Required - API name:file_countFileCountSnapshotStats.BuildersizeInBytes(long value)Required - API name:size_in_bytes-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
fileCount
public final FileCountSnapshotStats.Builder fileCount(int value)
Required - API name:file_count
-
sizeInBytes
public final FileCountSnapshotStats.Builder sizeInBytes(long value)
Required - API name:size_in_bytes
-
build
public FileCountSnapshotStats build()
Builds aFileCountSnapshotStats.- Specified by:
buildin interfaceObjectBuilder<FileCountSnapshotStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-