Class SnapshotsRecord

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

@JsonpDeserializable
public class SnapshotsRecord
extends java.lang.Object
implements JsonpSerializable
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static SnapshotsRecord of​(java.util.function.Function<SnapshotsRecord.Builder,​ObjectBuilder<SnapshotsRecord>> fn)
    • id

      @Nullable public final java.lang.String id()
      unique snapshot

      API name: id

    • repository

      @Nullable public final java.lang.String repository()
      repository name

      API name: repository

    • status

      @Nullable public final java.lang.String status()
      snapshot name

      API name: status

    • startEpoch

      @Nullable public final java.lang.String startEpoch()
      start time in seconds since 1970-01-01 00:00:00

      API name: start_epoch

    • startTime

      @Nullable public final java.lang.String startTime()
      start time in HH:MM:SS

      API name: start_time

    • endEpoch

      @Nullable public final java.lang.String endEpoch()
      end time in seconds since 1970-01-01 00:00:00

      API name: end_epoch

    • endTime

      @Nullable public final java.lang.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 java.lang.String indices()
      number of indices

      API name: indices

    • successfulShards

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

      API name: successful_shards

    • failedShards

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

      API name: failed_shards

    • totalShards

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

      API name: total_shards

    • reason

      @Nullable public final java.lang.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)
    • setupSnapshotsRecordDeserializer

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