Class CfnLogicallyAirGappedBackupVaultMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.backup.CfnLogicallyAirGappedBackupVaultMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLogicallyAirGappedBackupVaultMixinProps>
- Enclosing interface:
CfnLogicallyAirGappedBackupVaultMixinProps
@Stability(Stable)
public static final class CfnLogicallyAirGappedBackupVaultMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLogicallyAirGappedBackupVaultMixinProps>
A builder for
CfnLogicallyAirGappedBackupVaultMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessPolicy(Object accessPolicy) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getAccessPolicy()backupVaultName(String backupVaultName) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getBackupVaultName()backupVaultTags(Map<String, String> backupVaultTags) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getBackupVaultTags()build()Builds the configured instance.encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getEncryptionKeyArn()maxRetentionDays(Number maxRetentionDays) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getMaxRetentionDays()minRetentionDays(Number minRetentionDays) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getMinRetentionDays()mpaApprovalTeamArn(String mpaApprovalTeamArn) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getMpaApprovalTeamArn()notifications(CfnLogicallyAirGappedBackupVaultPropsMixin.NotificationObjectTypeProperty notifications) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getNotifications()notifications(IResolvable notifications) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getNotifications()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accessPolicy
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder accessPolicy(Object accessPolicy) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getAccessPolicy()- Parameters:
accessPolicy- The backup vault access policy document in JSON format.- Returns:
this
-
backupVaultName
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder backupVaultName(String backupVaultName) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getBackupVaultName()- Parameters:
backupVaultName- The name of a logical container where backups are stored. Logically air-gapped backup vaults are identified by names that are unique to the account used to create them and the Region where they are created.- Returns:
this
-
backupVaultTags
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder backupVaultTags(Map<String, String> backupVaultTags) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getBackupVaultTags()- Parameters:
backupVaultTags- The tags to assign to the vault.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getEncryptionKeyArn()- Parameters:
encryptionKeyArn- The server-side encryption key that is used to protect your backups; for example,arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab. If this field is left blank, AWS Backup will create an AWS owned key to be used to encrypt the content of the logically air-gapped vault. The ARN of this created key will be available asFn::GetAttoutput.- Returns:
this
-
maxRetentionDays
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder maxRetentionDays(Number maxRetentionDays) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getMaxRetentionDays()- Parameters:
maxRetentionDays- The maximum retention period that the vault retains its recovery points.- Returns:
this
-
minRetentionDays
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder minRetentionDays(Number minRetentionDays) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getMinRetentionDays()- Parameters:
minRetentionDays- This setting specifies the minimum retention period that the vault retains its recovery points. The minimum value accepted is 7 days.- Returns:
this
-
mpaApprovalTeamArn
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder mpaApprovalTeamArn(String mpaApprovalTeamArn) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getMpaApprovalTeamArn()- Parameters:
mpaApprovalTeamArn- The Amazon Resource Name (ARN) of the MPA approval team to associate with the backup vault. This cannot be changed after it is set from the CloudFormation template.- Returns:
this
-
notifications
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder notifications(IResolvable notifications) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getNotifications()- Parameters:
notifications- Returns event notifications for the specified backup vault.- Returns:
this
-
notifications
@Stability(Stable) public CfnLogicallyAirGappedBackupVaultMixinProps.Builder notifications(CfnLogicallyAirGappedBackupVaultPropsMixin.NotificationObjectTypeProperty notifications) Sets the value ofCfnLogicallyAirGappedBackupVaultMixinProps.getNotifications()- Parameters:
notifications- Returns event notifications for the specified backup vault.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLogicallyAirGappedBackupVaultMixinProps>- Returns:
- a new instance of
CfnLogicallyAirGappedBackupVaultMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-