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 SnapshotPolicyStats
final String
policy()
Required - API name:policy
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
final long
Required - API name:snapshot_deletion_failures
final long
Required - API name:snapshots_deleted
final long
Required - API name:snapshots_failed
final long
Required - API name:snapshots_taken
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSnapshotPolicyStatsDeserializer
protected static void setupSnapshotPolicyStatsDeserializer(ObjectDeserializer<SnapshotPolicyStats.Builder> op)
-