Class BucketLifecycleConfigurationV2RuleExpiration


  • public final class BucketLifecycleConfigurationV2RuleExpiration
    extends java.lang.Object
    • Method Detail

      • date

        public java.util.Optional<java.lang.String> date()
        Returns:
        Date the object is to be moved or deleted. The date value must be in [RFC3339 full-date format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) e.g. `2023-08-22`.
      • days

        public java.util.Optional<java.lang.Integer> days()
        Returns:
        Lifetime, in days, of the objects that are subject to the rule. The value must be a non-zero positive integer.
      • expiredObjectDeleteMarker

        public java.util.Optional<java.lang.Boolean> expiredObjectDeleteMarker()
        Returns:
        Whether Amazon S3 will remove a delete marker with no noncurrent versions. If set to `true`, the delete marker will be expired; if set to `false` the policy takes no action.