Class CleanupRepositoryResults
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.cleanup_repository.CleanupRepositoryResults
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CleanupRepositoryResults
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CleanupRepositoryResults>Json deserializer forCleanupRepositoryResults -
Method Summary
Modifier and TypeMethodDescriptionfinal longRequired - The number of binary large objects (blobs) removed from the snapshot repository during cleanup operations.final longRequired - The number of bytes freed by cleanup operations.static CleanupRepositoryResultsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCleanupRepositoryResults
-
-
Method Details
-
of
public static CleanupRepositoryResults of(Function<CleanupRepositoryResults.Builder, ObjectBuilder<CleanupRepositoryResults>> fn) -
deletedBlobs
public final long 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
public final long deletedBytes()Required - The number of bytes freed by cleanup operations.API name:
deleted_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCleanupRepositoryResultsDeserializer
protected static void setupCleanupRepositoryResultsDeserializer(ObjectDeserializer<CleanupRepositoryResults.Builder> op)
-