Class SnapshotStats
java.lang.Object
org.opensearch.client.opensearch.snapshot.SnapshotStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SnapshotStats.Builder,SnapshotStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SnapshotStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SnapshotStats.Builder,SnapshotStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotStats> Json deserializer forSnapshotStats -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotStats.Builderbuilder()booleaninthashCode()final FileCountSnapshotStatsThe incremental statistics for the snapshot.static SnapshotStatsfinal FileCountSnapshotStatsThe processed statistics for the snapshot.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal LongWhen the snapshot started in milliseconds.final Timetime()The total time taken for the snapshot.final LongThe total time taken for the snapshot in milliseconds.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final FileCountSnapshotStatstotal()The total statistics for the snapshot.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forSnapshotStats
-
-
Method Details
-
of
-
incremental
The incremental statistics for the snapshot.API name:
incremental -
processed
The processed statistics for the snapshot.API name:
processed -
startTimeInMillis
When the snapshot started in milliseconds.API name:
start_time_in_millis -
time
The total time taken for the snapshot.API name:
time -
timeInMillis
The total time taken for the snapshot in milliseconds.API name:
time_in_millis -
total
The total statistics for the snapshot.API name:
total -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SnapshotStats.Builder,SnapshotStats> - Returns:
- a new builder instance.
-
builder
-
setupSnapshotStatsDeserializer
-
hashCode
public int hashCode() -
equals
-