java.lang.Object
co.elastic.clients.elasticsearch.indices.recovery.ShardRecovery
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class ShardRecovery extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • id

      public final long id()
      Required - API name: id
    • index

      public final RecoveryIndexStatus index()
      Required - API name: index
    • primary

      public final boolean primary()
      Required - API name: primary
    • source

      public final RecoveryOrigin source()
      Required - API name: source
    • stage

      public final String stage()
      Required - API name: stage
    • start

      @Nullable public final RecoveryStartStatus start()
      API name: start
    • startTime

      @Nullable public final DateTime startTime()
      API name: start_time
    • startTimeInMillis

      public final long startTimeInMillis()
      Required - API name: start_time_in_millis
    • stopTime

      @Nullable public final DateTime stopTime()
      API name: stop_time
    • stopTimeInMillis

      @Nullable public final Long stopTimeInMillis()
      API name: stop_time_in_millis
    • target

      public final RecoveryOrigin target()
      Required - API name: target
    • totalTime

      @Nullable public final Time totalTime()
      API name: total_time
    • totalTimeInMillis

      public final long totalTimeInMillis()
      Required - API name: total_time_in_millis
    • translog

      public final TranslogStatus translog()
      Required - API name: translog
    • type

      public final String type()
      Required - API name: type
    • verifyIndex

      public final VerifyIndex verifyIndex()
      Required - API name: verify_index
    • 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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupShardRecoveryDeserializer

      protected static void setupShardRecoveryDeserializer(ObjectDeserializer<ShardRecovery.Builder> op)