Class FileCountSnapshotStats
java.lang.Object
org.opensearch.client.opensearch.snapshot.FileCountSnapshotStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<FileCountSnapshotStats.Builder,FileCountSnapshotStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FileCountSnapshotStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<FileCountSnapshotStats.Builder,FileCountSnapshotStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FileCountSnapshotStats> Json deserializer forFileCountSnapshotStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanfinal IntegerThe number of files in the snapshot.inthashCode()static FileCountSnapshotStatsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal LongThe total size of files in 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 forFileCountSnapshotStats
-
-
Method Details
-
of
public static FileCountSnapshotStats of(Function<FileCountSnapshotStats.Builder, ObjectBuilder<FileCountSnapshotStats>> fn) -
fileCount
The number of files in the snapshot.API name:
file_count -
sizeInBytes
The total size of files in the snapshot.API name:
size_in_bytes -
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<FileCountSnapshotStats.Builder,FileCountSnapshotStats> - Returns:
- a new builder instance.
-
builder
-
setupFileCountSnapshotStatsDeserializer
protected static void setupFileCountSnapshotStatsDeserializer(ObjectDeserializer<FileCountSnapshotStats.Builder> op) -
hashCode
public int hashCode() -
equals
-