Class SnapshotShardsStats
java.lang.Object
org.opensearch.client.opensearch.snapshot.SnapshotShardsStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<SnapshotShardsStats.Builder,SnapshotShardsStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class SnapshotShardsStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<SnapshotShardsStats.Builder,SnapshotShardsStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SnapshotShardsStats> Json deserializer forSnapshotShardsStats -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotShardsStats.Builderbuilder()final Longdone()The number of completed shard snapshots.booleanfinal Longfailed()The number of failed shard snapshots.final LongThe number of finalizing shard snapshots.inthashCode()final LongThe number of initializing shard snapshots.static SnapshotShardsStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Longstarted()The number of started shard snapshots.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Longtotal()The total number of shard snapshots.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 forSnapshotShardsStats
-
-
Method Details
-
of
public static SnapshotShardsStats of(Function<SnapshotShardsStats.Builder, ObjectBuilder<SnapshotShardsStats>> fn) -
done
The number of completed shard snapshots.API name:
done -
failed
The number of failed shard snapshots.API name:
failed -
finalizing
The number of finalizing shard snapshots.API name:
finalizing -
initializing
The number of initializing shard snapshots.API name:
initializing -
started
The number of started shard snapshots.API name:
started -
total
The total number of shard snapshots.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<SnapshotShardsStats.Builder,SnapshotShardsStats> - Returns:
- a new builder instance.
-
builder
-
setupSnapshotShardsStatsDeserializer
protected static void setupSnapshotShardsStatsDeserializer(ObjectDeserializer<SnapshotShardsStats.Builder> op) -
hashCode
public int hashCode() -
equals
-