Class BucketObjectLockConfiguration


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

      • objectLockEnabled

        @Deprecated
        public java.util.Optional<java.lang.String> objectLockEnabled()
        Deprecated.
        object_lock_enabled is deprecated. Use the top-level parameter objectLockEnabled instead.
        Returns:
        Whether this bucket has an Object Lock configuration enabled. Valid value is `Enabled`. Use the top-level argument `objectLockEnabled` instead.
      • rule

        @Deprecated
        public java.util.Optional<BucketObjectLockConfigurationRule> rule()
        Deprecated.
        rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.
        Returns:
        Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.