Class CleanupRepositoryResults
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.cleanup_repository.CleanupRepositoryResults
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CleanupRepositoryResults extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CleanupRepositoryResults.Builder
Builder forCleanupRepositoryResults
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CleanupRepositoryResults>
_DESERIALIZER
Json deserializer forCleanupRepositoryResults
-
Method Summary
Modifier and Type Method Description long
deletedBlobs()
Required - Number of binary large objects (blobs) removed during cleanup.long
deletedBytes()
Required - Number of bytes freed by cleanup operations.static CleanupRepositoryResults
of(java.util.function.Function<CleanupRepositoryResults.Builder,ObjectBuilder<CleanupRepositoryResults>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupCleanupRepositoryResultsDeserializer(ObjectDeserializer<CleanupRepositoryResults.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCleanupRepositoryResults
-
-
Method Details
-
of
public static CleanupRepositoryResults of(java.util.function.Function<CleanupRepositoryResults.Builder,ObjectBuilder<CleanupRepositoryResults>> fn) -
deletedBlobs
public final long deletedBlobs()Required - Number of binary large objects (blobs) removed during cleanup.API name:
deleted_blobs
-
deletedBytes
public final long deletedBytes()Required - Number of bytes freed by cleanup operations.API name:
deleted_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupCleanupRepositoryResultsDeserializer
protected static void setupCleanupRepositoryResultsDeserializer(ObjectDeserializer<CleanupRepositoryResults.Builder> op)
-