Class SnapshotInfo

java.lang.Object
co.elastic.clients.elasticsearch.snapshot.SnapshotInfo
All Implemented Interfaces:
JsonpSerializable

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

  • Method Details

    • of

    • dataStreams

      public final List<String> dataStreams()
      Required - API name: data_streams
    • duration

      @Nullable public final Time duration()
      API name: duration
    • durationInMillis

      @Nullable public final String durationInMillis()
      API name: duration_in_millis
    • endTime

      @Nullable public final Time endTime()
      API name: end_time
    • endTimeInMillis

      @Nullable public final String endTimeInMillis()
      API name: end_time_in_millis
    • failures

      public final List<SnapshotShardFailure> failures()
      API name: failures
    • includeGlobalState

      @Nullable public final Boolean includeGlobalState()
      API name: include_global_state
    • indices

      public final List<String> indices()
      Required - API name: indices
    • indexDetails

      public final Map<String,IndexDetails> indexDetails()
      API name: index_details
    • metadata

      public final Map<String,JsonData> metadata()
      API name: metadata
    • reason

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

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

      public final String snapshot()
      Required - API name: snapshot
    • shards

      @Nullable public final ShardStatistics shards()
      API name: shards
    • startTime

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

      @Nullable public final String startTimeInMillis()
      API name: start_time_in_millis
    • state

      @Nullable public final String state()
      API name: state
    • uuid

      public final String uuid()
      Required - API name: uuid
    • version

      @Nullable public final String version()
      API name: version
    • versionId

      @Nullable public final Long versionId()
      API name: version_id
    • featureStates

      public final List<InfoFeatureState> featureStates()
      API name: feature_states
    • 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
    • setupSnapshotInfoDeserializer

      protected static void setupSnapshotInfoDeserializer(ObjectDeserializer<SnapshotInfo.Builder> op)