public static final class CfnBackupVaultProps.Builder
extends java.lang.Object
CfnBackupVaultProps
Constructor and Description |
---|
Builder() |
public CfnBackupVaultProps.Builder backupVaultName(java.lang.String backupVaultName)
CfnBackupVaultProps.getBackupVaultName()
backupVaultName
- The name of a logical container where backups are stored. This parameter is required.
Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.this
public CfnBackupVaultProps.Builder accessPolicy(java.lang.Object accessPolicy)
CfnBackupVaultProps.getAccessPolicy()
accessPolicy
- A resource-based policy that is used to manage access permissions on the target backup vault.this
public CfnBackupVaultProps.Builder backupVaultTags(IResolvable backupVaultTags)
CfnBackupVaultProps.getBackupVaultTags()
backupVaultTags
- Metadata that you can assign to help organize the resources that you create.
Each tag is a key-value pair.this
public CfnBackupVaultProps.Builder backupVaultTags(java.util.Map<java.lang.String,java.lang.String> backupVaultTags)
CfnBackupVaultProps.getBackupVaultTags()
backupVaultTags
- Metadata that you can assign to help organize the resources that you create.
Each tag is a key-value pair.this
public CfnBackupVaultProps.Builder encryptionKeyArn(java.lang.String encryptionKeyArn)
CfnBackupVaultProps.getEncryptionKeyArn()
encryptionKeyArn
- A server-side encryption key you can specify to encrypt your backups from services that support full AWS Backup management;.
for example, arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
. If you specify a key, you must specify its ARN, not its alias. If you do not specify a key, AWS Backup creates a KMS key for you by default.
To learn which AWS Backup services support full AWS Backup management and how AWS Backup handles encryption for backups from services that do not yet support full AWS Backup , see Encryption for backups in AWS Backup
this
public CfnBackupVaultProps.Builder lockConfiguration(IResolvable lockConfiguration)
CfnBackupVaultProps.getLockConfiguration()
lockConfiguration
- Configuration for [AWS Backup Vault Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) .this
public CfnBackupVaultProps.Builder lockConfiguration(CfnBackupVault.LockConfigurationTypeProperty lockConfiguration)
CfnBackupVaultProps.getLockConfiguration()
lockConfiguration
- Configuration for [AWS Backup Vault Lock](https://docs.aws.amazon.com/aws-backup/latest/devguide/vault-lock.html) .this
public CfnBackupVaultProps.Builder notifications(IResolvable notifications)
CfnBackupVaultProps.getNotifications()
notifications
- The SNS event notifications for the specified backup vault.this
public CfnBackupVaultProps.Builder notifications(CfnBackupVault.NotificationObjectTypeProperty notifications)
CfnBackupVaultProps.getNotifications()
notifications
- The SNS event notifications for the specified backup vault.this
public CfnBackupVaultProps build()
CfnBackupVaultProps
java.lang.NullPointerException
- if any required attribute was not provided