@Stability(value=Experimental) public static final class BackupPlan.Builder extends Object implements software.amazon.jsii.Builder<BackupPlan>
BackupPlan.| Modifier and Type | Method and Description |
|---|---|
BackupPlan.Builder |
backupPlanName(String backupPlanName)
(experimental) The display name of the backup plan.
|
BackupPlan.Builder |
backupPlanRules(List<? extends BackupPlanRule> backupPlanRules)
(experimental) Rules for the backup plan.
|
BackupPlan.Builder |
backupVault(IBackupVault backupVault)
(experimental) The backup vault where backups are stored.
|
BackupPlan |
build() |
static BackupPlan.Builder |
create(software.constructs.Construct scope,
String id) |
@Stability(value=Experimental) public static BackupPlan.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.BackupPlan.Builder.@Stability(value=Experimental) public BackupPlan.Builder backupPlanName(String backupPlanName)
Default: - A CDK generated name
backupPlanName - The display name of the backup plan. This parameter is required.this@Stability(value=Experimental) public BackupPlan.Builder backupPlanRules(List<? extends BackupPlanRule> backupPlanRules)
Use addRule() to add rules after
instantiation.
Default: - use `addRule()` to add rules
backupPlanRules - Rules for the backup plan. This parameter is required.this@Stability(value=Experimental) public BackupPlan.Builder backupVault(IBackupVault backupVault)
Default: - use the vault defined at the rule level. If not defined a new common vault for the plan will be created
backupVault - The backup vault where backups are stored. This parameter is required.this@Stability(value=Experimental) public BackupPlan build()
build in interface software.amazon.jsii.Builder<BackupPlan>Copyright © 2021. All rights reserved.