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 class
SnapshotStats.Builder
Builder forSnapshotStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<SnapshotStats>
_DESERIALIZER
Json deserializer forSnapshotStats
-
Method Summary
Modifier and Type Method Description FileCountSnapshotStats
incremental()
Required - API name:incremental
static SnapshotStats
of(java.util.function.Function<SnapshotStats.Builder,ObjectBuilder<SnapshotStats>> fn)
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(ObjectDeserializer<SnapshotStats.Builder> op)
long
startTimeInMillis()
Required - API name:start_time_in_millis
long
timeInMillis()
Required - API name:time_in_millis
java.lang.String
toString()
FileCountSnapshotStats
total()
Required - API name:total
Methods 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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupSnapshotStatsDeserializer
-