@Stability(value=Experimental) public static final class BackupPlanProps.Builder extends Object implements software.amazon.jsii.Builder<BackupPlanProps>
BackupPlanProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackupPlanProps.Builder |
backupPlanName(String backupPlanName)
Sets the value of
BackupPlanProps.getBackupPlanName() |
BackupPlanProps.Builder |
backupPlanRules(List<? extends BackupPlanRule> backupPlanRules)
Sets the value of
BackupPlanProps.getBackupPlanRules() |
BackupPlanProps.Builder |
backupVault(IBackupVault backupVault)
Sets the value of
BackupPlanProps.getBackupVault() |
BackupPlanProps |
build()
Builds the configured instance.
|
@Stability(value=Experimental) public BackupPlanProps.Builder backupPlanName(String backupPlanName)
BackupPlanProps.getBackupPlanName()
backupPlanName
- The display name of the backup plan.this
@Stability(value=Experimental) public BackupPlanProps.Builder backupPlanRules(List<? extends BackupPlanRule> backupPlanRules)
BackupPlanProps.getBackupPlanRules()
backupPlanRules
- Rules for the backup plan.
Use addRule()
to add rules after
instantiation.this
@Stability(value=Experimental) public BackupPlanProps.Builder backupVault(IBackupVault backupVault)
BackupPlanProps.getBackupVault()
backupVault
- The backup vault where backups are stored.this
@Stability(value=Experimental) public BackupPlanProps build()
build
in interface software.amazon.jsii.Builder<BackupPlanProps>
BackupPlanProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.