Class CleanupRepositoryResults.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CleanupRepositoryResults.Builder>
co.elastic.clients.elasticsearch.snapshot.cleanup_repository.CleanupRepositoryResults.Builder
- All Implemented Interfaces:
WithJson<CleanupRepositoryResults.Builder>,ObjectBuilder<CleanupRepositoryResults>
- Enclosing class:
- CleanupRepositoryResults
public static class CleanupRepositoryResults.Builder
extends WithJsonObjectBuilderBase<CleanupRepositoryResults.Builder>
implements ObjectBuilder<CleanupRepositoryResults>
Builder for
CleanupRepositoryResults.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aCleanupRepositoryResults.deletedBlobs(long value) Required - The number of binary large objects (blobs) removed from the snapshot repository during cleanup operations.deletedBytes(long value) Required - The number of bytes freed by cleanup operations.protected CleanupRepositoryResults.Builderself()Methods 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
-
deletedBlobs
Required - The number of binary large objects (blobs) removed from the snapshot repository during cleanup operations. A non-zero value indicates that unreferenced blobs were found and subsequently cleaned up.API name:
deleted_blobs -
deletedBytes
Required - The number of bytes freed by cleanup operations.API name:
deleted_bytes -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<CleanupRepositoryResults.Builder>
-
build
Builds aCleanupRepositoryResults.- Specified by:
buildin interfaceObjectBuilder<CleanupRepositoryResults>- Throws:
NullPointerException- if some of the required fields are null.
-