Class SnapshotsRecord

java.lang.Object
co.elastic.clients.elasticsearch.cat.snapshots.SnapshotsRecord
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • id

      @Nullable public final String id()
      unique snapshot

      API name: id

    • repository

      @Nullable public final String repository()
      repository name

      API name: repository

    • status

      @Nullable public final String status()
      snapshot name

      API name: status

    • startEpoch

      @Nullable public final Long startEpoch()
      start time in seconds since 1970-01-01 00:00:00

      API name: start_epoch

    • startTime

      @Nullable public final ScheduleTimeOfDay startTime()
      start time in HH:MM:SS

      API name: start_time

    • endEpoch

      @Nullable public final Long endEpoch()
      end time in seconds since 1970-01-01 00:00:00

      API name: end_epoch

    • endTime

      @Nullable public final String endTime()
      end time in HH:MM:SS

      API name: end_time

    • duration

      @Nullable public final Time duration()
      duration

      API name: duration

    • indices

      @Nullable public final String indices()
      number of indices

      API name: indices

    • successfulShards

      @Nullable public final String successfulShards()
      number of successful shards

      API name: successful_shards

    • failedShards

      @Nullable public final String failedShards()
      number of failed shards

      API name: failed_shards

    • totalShards

      @Nullable public final String totalShards()
      number of total shards

      API name: total_shards

    • reason

      @Nullable public final String reason()
      reason for failures

      API name: reason

    • 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
    • setupSnapshotsRecordDeserializer

      protected static void setupSnapshotsRecordDeserializer(ObjectDeserializer<SnapshotsRecord.Builder> op)