Class SnapshotShardsStatsSummary
java.lang.Object
org.opensearch.client.opensearch.snapshot.SnapshotShardsStatsSummary
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SnapshotShardsStatsSummary.Builder,SnapshotShardsStatsSummary>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SnapshotShardsStatsSummary
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SnapshotShardsStatsSummary.Builder,SnapshotShardsStatsSummary>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotShardsStatsSummary> Json deserializer forSnapshotShardsStatsSummary -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()The incremental statistics for the shard snapshot.static SnapshotShardsStatsSummaryThe processed statistics for the shard 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 voidsetupSnapshotShardsStatsSummaryDeserializer(ObjectDeserializer<SnapshotShardsStatsSummary.Builder> op) final LongWhen the shard snapshot started in milliseconds.final Timetime()The total time taken for the shard snapshot.final LongThe total time taken for the shard snapshot in milliseconds.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.total()The total statistics for the shard 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 forSnapshotShardsStatsSummary
-
-
Method Details
-
of
public static SnapshotShardsStatsSummary of(Function<SnapshotShardsStatsSummary.Builder, ObjectBuilder<SnapshotShardsStatsSummary>> fn) -
incremental
The incremental statistics for the shard snapshot.API name:
incremental -
processed
The processed statistics for the shard snapshot.API name:
processed -
startTimeInMillis
When the shard snapshot started in milliseconds.API name:
start_time_in_millis -
time
The total time taken for the shard snapshot.API name:
time -
timeInMillis
The total time taken for the shard snapshot in milliseconds.API name:
time_in_millis -
total
The total statistics for the shard 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<SnapshotShardsStatsSummary.Builder,SnapshotShardsStatsSummary> - Returns:
- a new builder instance.
-
builder
-
setupSnapshotShardsStatsSummaryDeserializer
protected static void setupSnapshotShardsStatsSummaryDeserializer(ObjectDeserializer<SnapshotShardsStatsSummary.Builder> op) -
hashCode
public int hashCode() -
equals
-