Class VaultLockArgs.Builder

  • Enclosing class:
    VaultLockArgs

    public static final class VaultLockArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • completeLock

        public VaultLockArgs.Builder completeLock​(com.pulumi.core.Output<java.lang.Boolean> completeLock)
        Parameters:
        completeLock - Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to `false`, the Glacier Lock Policy remains in a testing mode for 24 hours. After that time, the Glacier Lock Policy is automatically removed by Glacier and the this provider resource will show as needing recreation. Changing this from `false` to `true` will show as resource recreation, which is expected. Changing this from `true` to `false` is not possible unless the Glacier Vault is recreated at the same time.
        Returns:
        builder
      • completeLock

        public VaultLockArgs.Builder completeLock​(java.lang.Boolean completeLock)
        Parameters:
        completeLock - Boolean whether to permanently apply this Glacier Lock Policy. Once completed, this cannot be undone. If set to `false`, the Glacier Lock Policy remains in a testing mode for 24 hours. After that time, the Glacier Lock Policy is automatically removed by Glacier and the this provider resource will show as needing recreation. Changing this from `false` to `true` will show as resource recreation, which is expected. Changing this from `true` to `false` is not possible unless the Glacier Vault is recreated at the same time.
        Returns:
        builder
      • ignoreDeletionError

        public VaultLockArgs.Builder ignoreDeletionError​(@Nullable
                                                         com.pulumi.core.Output<java.lang.Boolean> ignoreDeletionError)
        Parameters:
        ignoreDeletionError - Allow this provider to ignore the error returned when attempting to delete the Glacier Lock Policy. This can be used to delete or recreate the Glacier Vault via this provider, for example, if the Glacier Vault Lock policy permits that action. This should only be used in conjunction with `complete_lock` being set to `true`.
        Returns:
        builder
      • ignoreDeletionError

        public VaultLockArgs.Builder ignoreDeletionError​(java.lang.Boolean ignoreDeletionError)
        Parameters:
        ignoreDeletionError - Allow this provider to ignore the error returned when attempting to delete the Glacier Lock Policy. This can be used to delete or recreate the Glacier Vault via this provider, for example, if the Glacier Vault Lock policy permits that action. This should only be used in conjunction with `complete_lock` being set to `true`.
        Returns:
        builder
      • policy

        public VaultLockArgs.Builder policy​(com.pulumi.core.Output<java.lang.String> policy)
        Parameters:
        policy - JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
        Returns:
        builder
      • policy

        public VaultLockArgs.Builder policy​(java.lang.String policy)
        Parameters:
        policy - JSON string containing the IAM policy to apply as the Glacier Vault Lock policy.
        Returns:
        builder
      • vaultName

        public VaultLockArgs.Builder vaultName​(com.pulumi.core.Output<java.lang.String> vaultName)
        Parameters:
        vaultName - The name of the Glacier Vault.
        Returns:
        builder
      • vaultName

        public VaultLockArgs.Builder vaultName​(java.lang.String vaultName)
        Parameters:
        vaultName - The name of the Glacier Vault.
        Returns:
        builder