Class SnapshotStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class SnapshotStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSnapshotStats.BuilderBuilder forSnapshotStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotStats>_DESERIALIZERJson deserializer forSnapshotStats -
Method Summary
Modifier and Type Method Description FileCountSnapshotStatsincremental()Required - API name:incrementalstatic SnapshotStatsof(java.util.function.Function<SnapshotStats.Builder,ObjectBuilder<SnapshotStats>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupSnapshotStatsDeserializer(ObjectDeserializer<SnapshotStats.Builder> op)longstartTimeInMillis()Required - API name:start_time_in_millislongtimeInMillis()Required - API name:time_in_millisjava.lang.StringtoString()FileCountSnapshotStatstotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotStats
-
-
Method Details
-
of
public static SnapshotStats of(java.util.function.Function<SnapshotStats.Builder,ObjectBuilder<SnapshotStats>> fn) -
incremental
Required - API name:incremental -
startTimeInMillis
public final long startTimeInMillis()Required - API name:start_time_in_millis -
timeInMillis
public final long timeInMillis()Required - API name:time_in_millis -
total
Required - API name:total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupSnapshotStatsDeserializer
-