public static final class BackupPlanProps.Builder
extends java.lang.Object
BackupPlanProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BackupPlanProps.Builder |
backupPlanName(java.lang.String backupPlanName)
Sets the value of
BackupPlanProps.getBackupPlanName() |
BackupPlanProps.Builder |
backupPlanRules(java.util.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.
|
BackupPlanProps.Builder |
windowsVss(java.lang.Boolean windowsVss)
Sets the value of
BackupPlanProps.getWindowsVss() |
public BackupPlanProps.Builder backupPlanName(java.lang.String backupPlanName)
BackupPlanProps.getBackupPlanName()
backupPlanName
- The display name of the backup plan.this
public BackupPlanProps.Builder backupPlanRules(java.util.List<? extends BackupPlanRule> backupPlanRules)
BackupPlanProps.getBackupPlanRules()
backupPlanRules
- Rules for the backup plan.
Use addRule()
to add rules after
instantiation.this
public BackupPlanProps.Builder backupVault(IBackupVault backupVault)
BackupPlanProps.getBackupVault()
backupVault
- The backup vault where backups are stored.this
public BackupPlanProps.Builder windowsVss(java.lang.Boolean windowsVss)
BackupPlanProps.getWindowsVss()
windowsVss
- Enable Windows VSS backup.this
public BackupPlanProps build()
BackupPlanProps
java.lang.NullPointerException
- if any required attribute was not provided