Class SnapshotStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class SnapshotStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SnapshotStats.Builder
Builder forSnapshotStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotStats>
_DESERIALIZER
Json deserializer forSnapshotStats
-
Constructor Summary
Constructors Constructor Description SnapshotStats(SnapshotStats.Builder builder)
SnapshotStats(java.util.function.Function<SnapshotStats.Builder,SnapshotStats.Builder> fn)
-
Method Summary
Modifier and Type Method Description FileCountSnapshotStats
incremental()
Required - API name:incremental
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
setupSnapshotStatsDeserializer(DelegatingDeserializer<SnapshotStats.Builder> op)
long
startTimeInMillis()
Required - API name:start_time_in_millis
long
timeInMillis()
Required - API name:time_in_millis
FileCountSnapshotStats
total()
Required - API name:total
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotStats
-
-
Constructor Details
-
SnapshotStats
-
SnapshotStats
-
-
Method Details
-
incremental
Required - API name:incremental
-
startTimeInMillis
public long startTimeInMillis()Required - API name:start_time_in_millis
-
timeInMillis
public long timeInMillis()Required - API name:time_in_millis
-
total
Required - API name:total
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupSnapshotStatsDeserializer
protected static void setupSnapshotStatsDeserializer(DelegatingDeserializer<SnapshotStats.Builder> op)
-