@Stability(value=Experimental) public static final class BackupVaultProps.Builder extends Object implements software.amazon.jsii.Builder<BackupVaultProps>
BackupVaultProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
BackupVaultProps.Builder |
accessPolicy(PolicyDocument accessPolicy)
Sets the value of
BackupVaultProps.getAccessPolicy() |
BackupVaultProps.Builder |
backupVaultName(String backupVaultName)
Sets the value of
BackupVaultProps.getBackupVaultName() |
BackupVaultProps |
build()
Builds the configured instance.
|
BackupVaultProps.Builder |
encryptionKey(IKey encryptionKey)
Sets the value of
BackupVaultProps.getEncryptionKey() |
BackupVaultProps.Builder |
notificationEvents(List<? extends BackupVaultEvents> notificationEvents)
Sets the value of
BackupVaultProps.getNotificationEvents() |
BackupVaultProps.Builder |
notificationTopic(ITopic notificationTopic)
Sets the value of
BackupVaultProps.getNotificationTopic() |
BackupVaultProps.Builder |
removalPolicy(RemovalPolicy removalPolicy)
Sets the value of
BackupVaultProps.getRemovalPolicy() |
@Stability(value=Experimental) public BackupVaultProps.Builder accessPolicy(PolicyDocument accessPolicy)
BackupVaultProps.getAccessPolicy()accessPolicy - A resource-based policy that is used to manage access permissions on the backup vault.this@Stability(value=Experimental) public BackupVaultProps.Builder backupVaultName(String backupVaultName)
BackupVaultProps.getBackupVaultName()backupVaultName - The name of a logical container where backups are stored.
Backup vaults
are identified by names that are unique to the account used to create
them and the AWS Region where they are created.this@Stability(value=Experimental) public BackupVaultProps.Builder encryptionKey(IKey encryptionKey)
BackupVaultProps.getEncryptionKey()encryptionKey - The server-side encryption key to use to protect your backups.this@Stability(value=Experimental) public BackupVaultProps.Builder notificationEvents(List<? extends BackupVaultEvents> notificationEvents)
BackupVaultProps.getNotificationEvents()notificationEvents - The vault events to send.this@Stability(value=Experimental) public BackupVaultProps.Builder notificationTopic(ITopic notificationTopic)
BackupVaultProps.getNotificationTopic()notificationTopic - A SNS topic to send vault events to.this@Stability(value=Experimental) public BackupVaultProps.Builder removalPolicy(RemovalPolicy removalPolicy)
BackupVaultProps.getRemovalPolicy()removalPolicy - The removal policy to apply to the vault.
Note that removing a vault
that contains recovery points will fail.this@Stability(value=Experimental) public BackupVaultProps build()
build in interface software.amazon.jsii.Builder<BackupVaultProps>BackupVaultPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.