Class SnapshotIndexStats
java.lang.Object
org.opensearch.client.opensearch.snapshot.SnapshotIndexStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SnapshotIndexStats.Builder,SnapshotIndexStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SnapshotIndexStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SnapshotIndexStats.Builder,SnapshotIndexStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotIndexStats> Json deserializer forSnapshotIndexStats -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotIndexStats.Builderbuilder()booleaninthashCode()static SnapshotIndexStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Map<String, SnapshotShardsStatus> shards()The status of individual shards in the snapshot.final SnapshotShardsStatsThe statistics about snapshot shards.final SnapshotStatsstats()The detailed statistics about the snapshot.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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 forSnapshotIndexStats
-
-
Method Details
-
of
public static SnapshotIndexStats of(Function<SnapshotIndexStats.Builder, ObjectBuilder<SnapshotIndexStats>> fn) -
shards
The status of individual shards in the snapshot.API name:
shards -
shardsStats
The statistics about snapshot shards.API name:
shards_stats -
stats
The detailed statistics about the snapshot.API name:
stats -
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<SnapshotIndexStats.Builder,SnapshotIndexStats> - Returns:
- a new builder instance.
-
builder
-
setupSnapshotIndexStatsDeserializer
protected static void setupSnapshotIndexStatsDeserializer(ObjectDeserializer<SnapshotIndexStats.Builder> op) -
hashCode
public int hashCode() -
equals
-