Class SnapshotRetentionConfiguration

java.lang.Object
org.elasticsearch.xpack.core.slm.SnapshotRetentionConfiguration
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class SnapshotRetentionConfiguration extends Object implements org.elasticsearch.xcontent.ToXContentObject, Writeable
  • Field Details

  • Constructor Details

    • SnapshotRetentionConfiguration

      public SnapshotRetentionConfiguration(@Nullable org.elasticsearch.core.TimeValue expireAfter, @Nullable Integer minimumSnapshotCount, @Nullable Integer maximumSnapshotCount)
    • SnapshotRetentionConfiguration

      public SnapshotRetentionConfiguration(LongSupplier nowSupplier, @Nullable org.elasticsearch.core.TimeValue expireAfter, @Nullable Integer minimumSnapshotCount, @Nullable Integer maximumSnapshotCount)
  • Method Details