Class CfnBackupVaultMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnBackupVaultMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBackupVaultMixinProps>
- Enclosing interface:
CfnBackupVaultMixinProps
@Stability(Stable)
public static final class CfnBackupVaultMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBackupVaultMixinProps>
A builder for
CfnBackupVaultMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPolicy(Object accessPolicy) Sets the value ofCfnBackupVaultMixinProps.getAccessPolicy()backupVaultName(String backupVaultName) Sets the value ofCfnBackupVaultMixinProps.getBackupVaultName()backupVaultTags(Map<String, String> backupVaultTags) Sets the value ofCfnBackupVaultMixinProps.getBackupVaultTags()build()Builds the configured instance.encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnBackupVaultMixinProps.getEncryptionKeyArn()encryptionKeyArn(IKeyRef encryptionKeyArn) Sets the value ofCfnBackupVaultMixinProps.getEncryptionKeyArn()lockConfiguration(CfnBackupVaultPropsMixin.LockConfigurationTypeProperty lockConfiguration) Sets the value ofCfnBackupVaultMixinProps.getLockConfiguration()lockConfiguration(IResolvable lockConfiguration) Sets the value ofCfnBackupVaultMixinProps.getLockConfiguration()Sets the value ofCfnBackupVaultMixinProps.getNotifications()notifications(IResolvable notifications) Sets the value ofCfnBackupVaultMixinProps.getNotifications()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPolicy
Sets the value ofCfnBackupVaultMixinProps.getAccessPolicy()- Parameters:
accessPolicy- A resource-based policy that is used to manage access permissions on the target backup vault.- Returns:
this
-
backupVaultName
Sets the value ofCfnBackupVaultMixinProps.getBackupVaultName()- Parameters:
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.- Returns:
this
-
backupVaultTags
@Stability(Stable) public CfnBackupVaultMixinProps.Builder backupVaultTags(Map<String, String> backupVaultTags) Sets the value ofCfnBackupVaultMixinProps.getBackupVaultTags()- Parameters:
backupVaultTags- The tags to assign to the backup vault.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnBackupVaultMixinProps.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnBackupVaultMixinProps.getEncryptionKeyArn()- Parameters:
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
- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnBackupVaultMixinProps.Builder encryptionKeyArn(IKeyRef encryptionKeyArn) Sets the value ofCfnBackupVaultMixinProps.getEncryptionKeyArn()- Parameters:
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
- Returns:
this
-
lockConfiguration
@Stability(Stable) public CfnBackupVaultMixinProps.Builder lockConfiguration(IResolvable lockConfiguration) Sets the value ofCfnBackupVaultMixinProps.getLockConfiguration()- Parameters:
lockConfiguration- Configuration for AWS Backup Vault Lock .- Returns:
this
-
lockConfiguration
@Stability(Stable) public CfnBackupVaultMixinProps.Builder lockConfiguration(CfnBackupVaultPropsMixin.LockConfigurationTypeProperty lockConfiguration) Sets the value ofCfnBackupVaultMixinProps.getLockConfiguration()- Parameters:
lockConfiguration- Configuration for AWS Backup Vault Lock .- Returns:
this
-
notifications
Sets the value ofCfnBackupVaultMixinProps.getNotifications()- Parameters:
notifications- The SNS event notifications for the specified backup vault.- Returns:
this
-
notifications
@Stability(Stable) public CfnBackupVaultMixinProps.Builder notifications(CfnBackupVaultPropsMixin.NotificationObjectTypeProperty notifications) Sets the value ofCfnBackupVaultMixinProps.getNotifications()- Parameters:
notifications- The SNS event notifications for the specified backup vault.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBackupVaultMixinProps>- Returns:
- a new instance of
CfnBackupVaultMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-