Class FileCountSnapshotStats.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FileCountSnapshotStats.Builder>
co.elastic.clients.elasticsearch.snapshot.FileCountSnapshotStats.Builder
- All Implemented Interfaces:
WithJson<FileCountSnapshotStats.Builder>,ObjectBuilder<FileCountSnapshotStats>
- Enclosing class:
- FileCountSnapshotStats
public static class FileCountSnapshotStats.Builder
extends WithJsonObjectBuilderBase<FileCountSnapshotStats.Builder>
implements ObjectBuilder<FileCountSnapshotStats>
Builder for
FileCountSnapshotStats.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFileCountSnapshotStats.fileCount(int value) Required - API name:file_countprotected FileCountSnapshotStats.Builderself()sizeInBytes(long value) Required - API name:size_in_bytesMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileCount
Required - API name:file_count -
sizeInBytes
Required - API name:size_in_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FileCountSnapshotStats.Builder>
-
build
Builds aFileCountSnapshotStats.- Specified by:
buildin interfaceObjectBuilder<FileCountSnapshotStats>- Throws:
NullPointerException- if some of the required fields are null.
-