@Stability(value=Stable) public static final class BackupPlanRuleProps.Builder extends Object implements software.amazon.jsii.Builder<BackupPlanRuleProps>
BackupPlanRuleProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public BackupPlanRuleProps.Builder backupVault(IBackupVault backupVault)
BackupPlanRuleProps.getBackupVault()backupVault - The backup vault where backups are.this@Stability(value=Stable) public BackupPlanRuleProps.Builder completionWindow(Duration completionWindow)
BackupPlanRuleProps.getCompletionWindow()completionWindow - The duration after a backup job is successfully started before it must be completed or it is canceled by AWS Backup.this@Stability(value=Stable) public BackupPlanRuleProps.Builder deleteAfter(Duration deleteAfter)
BackupPlanRuleProps.getDeleteAfter()deleteAfter - Specifies the duration after creation that a recovery point is deleted.
Must be greater than moveToColdStorageAfter.this@Stability(value=Stable) public BackupPlanRuleProps.Builder enableContinuousBackup(Boolean enableContinuousBackup)
BackupPlanRuleProps.getEnableContinuousBackup()enableContinuousBackup - Enables continuous backup and point-in-time restores (PITR).
Property deleteAfter defines the retention period for the backup. It is mandatory if PITR is enabled.
If no value is specified, the retention period is set to 35 days which is the maximum retention period supported by PITR.
Property moveToColdStorageAfter must not be specified because PITR does not support this option.
this@Stability(value=Stable) public BackupPlanRuleProps.Builder moveToColdStorageAfter(Duration moveToColdStorageAfter)
BackupPlanRuleProps.getMoveToColdStorageAfter()moveToColdStorageAfter - Specifies the duration after creation that a recovery point is moved to cold storage.this@Stability(value=Stable) public BackupPlanRuleProps.Builder ruleName(String ruleName)
BackupPlanRuleProps.getRuleName()ruleName - A display name for the backup rule.this@Stability(value=Stable) public BackupPlanRuleProps.Builder scheduleExpression(Schedule scheduleExpression)
BackupPlanRuleProps.getScheduleExpression()scheduleExpression - A CRON expression specifying when AWS Backup initiates a backup job.this@Stability(value=Stable) public BackupPlanRuleProps.Builder startWindow(Duration startWindow)
BackupPlanRuleProps.getStartWindow()startWindow - The duration after a backup is scheduled before a job is canceled if it doesn't start successfully.this@Stability(value=Stable) public BackupPlanRuleProps build()
build in interface software.amazon.jsii.Builder<BackupPlanRuleProps>BackupPlanRulePropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.