Class RecoveryRecord
java.lang.Object
org.opensearch.client.opensearch.cat.recovery.RecoveryRecord
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RecoveryRecord.Builder,RecoveryRecord>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RecoveryRecord
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RecoveryRecord.Builder,RecoveryRecord>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RecoveryRecord> Json deserializer forRecoveryRecord -
Method Summary
Modifier and TypeMethodDescriptionstatic RecoveryRecord.Builderbuilder()final Stringbytes()The number of bytes to recover.final StringAPI name:bytes_percentfinal StringThe bytes recovered.final StringThe total number of bytes.booleanfinal Stringfiles()The number of files to recover.final StringAPI name:files_percentfinal StringThe files recovered.final StringThe total number of files.inthashCode()final Stringindex()API name:indexstatic RecoveryRecordfinal StringThe repository name.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 Stringshard()The shard name.final Stringsnapshot()The snapshot name.final StringThe source host.final StringThe source node name.final Stringstage()The recovery stage.final StringAPI name:start_timefinal LongAPI name:start_time_millisfinal StringstopTime()API name:stop_timefinal LongAPI name:stop_time_millisfinal StringThe target host.final StringThe target node name.final Timetime()API name:timeCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final StringThe number of translog operations to recover.final StringAPI name:translog_ops_percentfinal StringThe translog operations recovered.final Stringtype()The recovery type.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 forRecoveryRecord
-
-
Method Details
-
of
-
bytes
The number of bytes to recover.API name:
bytes -
bytesPercent
API name:bytes_percent -
bytesRecovered
The bytes recovered.API name:
bytes_recovered -
bytesTotal
The total number of bytes.API name:
bytes_total -
files
The number of files to recover.API name:
files -
filesPercent
API name:files_percent -
filesRecovered
The files recovered.API name:
files_recovered -
filesTotal
The total number of files.API name:
files_total -
index
API name:index -
repository
The repository name.API name:
repository -
shard
The shard name.API name:
shard -
snapshot
The snapshot name.API name:
snapshot -
sourceHost
The source host.API name:
source_host -
sourceNode
The source node name.API name:
source_node -
stage
The recovery stage.API name:
stage -
startTime
API name:start_time -
startTimeMillis
API name:start_time_millis -
stopTime
API name:stop_time -
stopTimeMillis
API name:stop_time_millis -
targetHost
The target host.API name:
target_host -
targetNode
The target node name.API name:
target_node -
time
API name:time -
translogOps
The number of translog operations to recover.API name:
translog_ops -
translogOpsPercent
API name:translog_ops_percent -
translogOpsRecovered
The translog operations recovered.API name:
translog_ops_recovered -
type
The recovery type.API name:
type -
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<RecoveryRecord.Builder,RecoveryRecord> - Returns:
- a new builder instance.
-
builder
-
setupRecoveryRecordDeserializer
protected static void setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op) -
hashCode
public int hashCode() -
equals
-