Package com.pulumi.aws.glacier.inputs
Class VaultLockState.Builder
- java.lang.Object
-
- com.pulumi.aws.glacier.inputs.VaultLockState.Builder
-
- Enclosing class:
- VaultLockState
public static final class VaultLockState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(VaultLockState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VaultLockState
build()
VaultLockState.Builder
completeLock(com.pulumi.core.Output<java.lang.Boolean> completeLock)
VaultLockState.Builder
completeLock(java.lang.Boolean completeLock)
VaultLockState.Builder
ignoreDeletionError(com.pulumi.core.Output<java.lang.Boolean> ignoreDeletionError)
VaultLockState.Builder
ignoreDeletionError(java.lang.Boolean ignoreDeletionError)
VaultLockState.Builder
policy(com.pulumi.core.Output<java.lang.String> policy)
VaultLockState.Builder
policy(java.lang.String policy)
VaultLockState.Builder
vaultName(com.pulumi.core.Output<java.lang.String> vaultName)
VaultLockState.Builder
vaultName(java.lang.String vaultName)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(VaultLockState defaults)
-
-
Method Detail
-
completeLock
public VaultLockState.Builder completeLock(@Nullable 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 VaultLockState.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 VaultLockState.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 VaultLockState.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 VaultLockState.Builder policy(@Nullable 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 VaultLockState.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 VaultLockState.Builder vaultName(@Nullable com.pulumi.core.Output<java.lang.String> vaultName)
- Parameters:
vaultName
- The name of the Glacier Vault.- Returns:
- builder
-
vaultName
public VaultLockState.Builder vaultName(java.lang.String vaultName)
- Parameters:
vaultName
- The name of the Glacier Vault.- Returns:
- builder
-
build
public VaultLockState build()
-
-