Class BucketLifecycleConfigurationV2RuleFilter


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

      • and

        public java.util.Optional<BucketLifecycleConfigurationV2RuleFilterAnd> and()
        Returns:
        Configuration block used to apply a logical `AND` to two or more predicates. See below. The Lifecycle Rule will apply to any object matching all the predicates configured inside the `and` block.
      • objectSizeGreaterThan

        public java.util.Optional<java.lang.Integer> objectSizeGreaterThan()
        Returns:
        Minimum object size (in bytes) to which the rule applies.
      • objectSizeLessThan

        public java.util.Optional<java.lang.Integer> objectSizeLessThan()
        Returns:
        Maximum object size (in bytes) to which the rule applies.
      • prefix

        public java.util.Optional<java.lang.String> prefix()
        Returns:
        Prefix identifying one or more objects to which the rule applies. Defaults to an empty string (`""`) if not specified.