Class BucketObjectLockConfigurationArgs.Builder

    • Method Detail

      • objectLockEnabled

        @Deprecated
        public BucketObjectLockConfigurationArgs.Builder objectLockEnabled​(@Nullable
                                                                           com.pulumi.core.Output<java.lang.String> objectLockEnabled)
        Deprecated.
        object_lock_enabled is deprecated. Use the top-level parameter objectLockEnabled instead.
        Parameters:
        objectLockEnabled - Whether this bucket has an Object Lock configuration enabled. Valid value is `Enabled`. Use the top-level argument `objectLockEnabled` instead.
        Returns:
        builder
      • objectLockEnabled

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

        @Deprecated
        public BucketObjectLockConfigurationArgs.Builder rule​(@Nullable
                                                              com.pulumi.core.Output<BucketObjectLockConfigurationRuleArgs> rule)
        Deprecated.
        rule is deprecated. Use the aws.s3.BucketObjectLockConfiguration resource instead.
        Parameters:
        rule - Object Lock rule in place for this bucket. See `object_lock_configuration.rule` Block below for details.
        Returns:
        builder