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>
  • Field Details

  • Method Details

    • of

    • bytes

      @Nullable public final String bytes()
      The number of bytes to recover.

      API name: bytes

    • bytesPercent

      @Nullable public final String bytesPercent()
      API name: bytes_percent
    • bytesRecovered

      @Nullable public final String bytesRecovered()
      The bytes recovered.

      API name: bytes_recovered

    • bytesTotal

      @Nullable public final String bytesTotal()
      The total number of bytes.

      API name: bytes_total

    • files

      @Nullable public final String files()
      The number of files to recover.

      API name: files

    • filesPercent

      @Nullable public final String filesPercent()
      API name: files_percent
    • filesRecovered

      @Nullable public final String filesRecovered()
      The files recovered.

      API name: files_recovered

    • filesTotal

      @Nullable public final String filesTotal()
      The total number of files.

      API name: files_total

    • index

      @Nullable public final String index()
      API name: index
    • repository

      @Nullable public final String repository()
      The repository name.

      API name: repository

    • shard

      @Nullable public final String shard()
      The shard name.

      API name: shard

    • snapshot

      @Nullable public final String snapshot()
      The snapshot name.

      API name: snapshot

    • sourceHost

      @Nullable public final String sourceHost()
      The source host.

      API name: source_host

    • sourceNode

      @Nullable public final String sourceNode()
      The source node name.

      API name: source_node

    • stage

      @Nullable public final String stage()
      The recovery stage.

      API name: stage

    • startTime

      @Nullable public final String startTime()
      API name: start_time
    • startTimeMillis

      @Nullable public final Long startTimeMillis()
      API name: start_time_millis
    • stopTime

      @Nullable public final String stopTime()
      API name: stop_time
    • stopTimeMillis

      @Nullable public final Long stopTimeMillis()
      API name: stop_time_millis
    • targetHost

      @Nullable public final String targetHost()
      The target host.

      API name: target_host

    • targetNode

      @Nullable public final String targetNode()
      The target node name.

      API name: target_node

    • time

      @Nullable public final Time time()
      API name: time
    • translogOps

      @Nullable public final String translogOps()
      The number of translog operations to recover.

      API name: translog_ops

    • translogOpsPercent

      @Nullable public final String translogOpsPercent()
      API name: translog_ops_percent
    • translogOpsRecovered

      @Nullable public final String translogOpsRecovered()
      The translog operations recovered.

      API name: translog_ops_recovered

    • type

      @Nullable public final String type()
      The recovery type.

      API name: type

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toBuilder

      @Nonnull public RecoveryRecord.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<RecoveryRecord.Builder,RecoveryRecord>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static RecoveryRecord.Builder builder()
    • setupRecoveryRecordDeserializer

      protected static void setupRecoveryRecordDeserializer(ObjectDeserializer<RecoveryRecord.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object