Interface BackupPlan.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BackupPlan.Builder,,- BackupPlan> - SdkBuilder<BackupPlan.Builder,,- BackupPlan> - SdkPojo
- Enclosing class:
- BackupPlan
- 
Method SummaryModifier and TypeMethodDescriptionadvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings) Contains a list ofBackupOptionsfor each resource type.advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) Contains a list ofBackupOptionsfor each resource type.advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings) Contains a list ofBackupOptionsfor each resource type.backupPlanName(String backupPlanName) The display name of a backup plan.rules(Collection<BackupRule> rules) An array ofBackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.rules(Consumer<BackupRule.Builder>... rules) An array ofBackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.rules(BackupRule... rules) An array ofBackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
backupPlanNameThe display name of a backup plan. Must contain only alphanumeric or '-_.' special characters. If this is set in the console, it can contain 1 to 50 characters; if this is set through CLI or API, it can contain 1 to 200 characters. - Parameters:
- backupPlanName- The display name of a backup plan. Must contain only alphanumeric or '-_.' special characters.- If this is set in the console, it can contain 1 to 50 characters; if this is set through CLI or API, it can contain 1 to 200 characters. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rulesAn array of BackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
- rules- An array of- BackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rulesAn array of BackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
- rules- An array of- BackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
rulesAn array of This is a convenience method that creates an instance of theBackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.BackupRule.Builderavoiding the need to create one manually viaBackupRule.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torules(List<BackupRule>).- Parameters:
- rules- a consumer that will call methods on- BackupRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
advancedBackupSettingsContains a list of BackupOptionsfor each resource type.- Parameters:
- advancedBackupSettings- Contains a list of- BackupOptionsfor each resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
advancedBackupSettingsContains a list of BackupOptionsfor each resource type.- Parameters:
- advancedBackupSettings- Contains a list of- BackupOptionsfor each resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
advancedBackupSettingsBackupPlan.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) Contains a list of This is a convenience method that creates an instance of theBackupOptionsfor each resource type.AdvancedBackupSetting.Builderavoiding the need to create one manually viaAdvancedBackupSetting.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadvancedBackupSettings(List<AdvancedBackupSetting>).- Parameters:
- advancedBackupSettings- a consumer that will call methods on- AdvancedBackupSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-