Package com.pulumi.aws.glacier
Class VaultLockArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.glacier.VaultLockArgs.Builder
-
- Enclosing class:
- VaultLockArgs
public static final class VaultLockArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(VaultLockArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaultLockArgs
build()
VaultLockArgs.Builder
completeLock(com.pulumi.core.Output<java.lang.Boolean> completeLock)
VaultLockArgs.Builder
completeLock(java.lang.Boolean completeLock)
VaultLockArgs.Builder
ignoreDeletionError(com.pulumi.core.Output<java.lang.Boolean> ignoreDeletionError)
VaultLockArgs.Builder
ignoreDeletionError(java.lang.Boolean ignoreDeletionError)
VaultLockArgs.Builder
policy(com.pulumi.core.Output<java.lang.String> policy)
VaultLockArgs.Builder
policy(java.lang.String policy)
VaultLockArgs.Builder
vaultName(com.pulumi.core.Output<java.lang.String> vaultName)
VaultLockArgs.Builder
vaultName(java.lang.String vaultName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VaultLockArgs defaults)
-
-
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
-
build
public VaultLockArgs build()
-
-