Class SnapshotPolicyStats
java.lang.Object
co.elastic.clients.elasticsearch.slm.SnapshotPolicyStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotPolicyStats>Json deserializer forSnapshotPolicyStats -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotPolicyStatsfinal Stringpolicy()Required - API name:policyvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - API name:snapshot_deletion_failuresfinal longRequired - API name:snapshots_deletedfinal longRequired - API name:snapshots_failedfinal longRequired - API name:snapshots_takentoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotPolicyStats
-
-
Method Details
-
of
public static SnapshotPolicyStats of(Function<SnapshotPolicyStats.Builder, ObjectBuilder<SnapshotPolicyStats>> fn) -
policy
Required - API name:policy -
snapshotsTaken
public final long snapshotsTaken()Required - API name:snapshots_taken -
snapshotsFailed
public final long snapshotsFailed()Required - API name:snapshots_failed -
snapshotsDeleted
public final long snapshotsDeleted()Required - API name:snapshots_deleted -
snapshotDeletionFailures
public final long snapshotDeletionFailures()Required - API name:snapshot_deletion_failures -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotPolicyStatsDeserializer
protected static void setupSnapshotPolicyStatsDeserializer(ObjectDeserializer<SnapshotPolicyStats.Builder> op)
-