Class Statistics
java.lang.Object
co.elastic.clients.elasticsearch.slm.Statistics
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class Statistics extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Statistics.Builder
Builder forStatistics
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<Statistics>
_DESERIALIZER
Json deserializer forStatistics
-
Method Summary
Modifier and Type Method Description static Statistics
of(java.util.function.Function<Statistics.Builder,ObjectBuilder<Statistics>> fn)
java.lang.String
policy()
API name:policy
DateTime
retentionDeletionTime()
API name:retention_deletion_time
DateTime
retentionDeletionTimeMillis()
API name:retention_deletion_time_millis
java.lang.Long
retentionFailed()
API name:retention_failed
java.lang.Long
retentionRuns()
API name:retention_runs
java.lang.Long
retentionTimedOut()
API name:retention_timed_out
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
setupStatisticsDeserializer(ObjectDeserializer<Statistics.Builder> op)
java.lang.String
toString()
java.lang.Long
totalSnapshotDeletionFailures()
API name:total_snapshot_deletion_failures
java.lang.Long
totalSnapshotsDeleted()
API name:total_snapshots_deleted
java.lang.Long
totalSnapshotsFailed()
API name:total_snapshots_failed
java.lang.Long
totalSnapshotsTaken()
API name:total_snapshots_taken
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forStatistics
-
-
Method Details
-
of
public static Statistics of(java.util.function.Function<Statistics.Builder,ObjectBuilder<Statistics>> fn) -
retentionDeletionTime
API name:retention_deletion_time
-
retentionDeletionTimeMillis
API name:retention_deletion_time_millis
-
retentionFailed
@Nullable public final java.lang.Long retentionFailed()API name:retention_failed
-
retentionRuns
@Nullable public final java.lang.Long retentionRuns()API name:retention_runs
-
retentionTimedOut
@Nullable public final java.lang.Long retentionTimedOut()API name:retention_timed_out
-
policy
@Nullable public final java.lang.String policy()API name:policy
-
totalSnapshotsDeleted
@Nullable public final java.lang.Long totalSnapshotsDeleted()API name:total_snapshots_deleted
-
totalSnapshotDeletionFailures
@Nullable public final java.lang.Long totalSnapshotDeletionFailures()API name:total_snapshot_deletion_failures
-
totalSnapshotsFailed
@Nullable public final java.lang.Long totalSnapshotsFailed()API name:total_snapshots_failed
-
totalSnapshotsTaken
@Nullable public final java.lang.Long totalSnapshotsTaken()API name:total_snapshots_taken
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupStatisticsDeserializer
-