Class BucketLifecycleConfigurationV2RuleTransition


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

      • date

        public java.util.Optional<java.lang.String> date()
        Returns:
        Date objects are transitioned to the specified storage class. 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:
        Number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. If both `days` and `date` are not specified, defaults to `0`. Valid values depend on `storageClass`, see [Transition objects using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html) for more details.
      • storageClass

        public java.lang.String storageClass()
        Returns:
        Class of storage used to store the object. Valid Values: `GLACIER`, `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `DEEP_ARCHIVE`, `GLACIER_IR`.