Class FileCountSnapshotStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.snapshot.FileCountSnapshotStats.Builder
- All Implemented Interfaces:
ObjectBuilder<FileCountSnapshotStats>
- Enclosing class:
- FileCountSnapshotStats
public static class FileCountSnapshotStats.Builder extends ObjectBuilderBase implements ObjectBuilder<FileCountSnapshotStats>
Builder for
FileCountSnapshotStats.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
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_bytesMethods 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
-
fileCount
Required - API name:file_count -
sizeInBytes
Required - API name:size_in_bytes -
build
Builds aFileCountSnapshotStats.- Specified by:
buildin interfaceObjectBuilder<FileCountSnapshotStats>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-