Interface BackupPlan.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BackupPlan.Builder,
,BackupPlan> SdkBuilder<BackupPlan.Builder,
,BackupPlan> SdkPojo
- Enclosing class:
BackupPlan
-
Method Summary
Modifier and TypeMethodDescriptionadvancedBackupSettings
(Collection<AdvancedBackupSetting> advancedBackupSettings) Contains a list ofBackupOptions
for each resource type.advancedBackupSettings
(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) Contains a list ofBackupOptions
for each resource type.advancedBackupSettings
(AdvancedBackupSetting... advancedBackupSettings) Contains a list ofBackupOptions
for each resource type.backupPlanName
(String backupPlanName) The display name of a backup plan.rules
(Collection<BackupRule> rules) An array ofBackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.rules
(Consumer<BackupRule.Builder>... rules) An array ofBackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.rules
(BackupRule... rules) An array ofBackupRule
objects, 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backupPlanName
The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
backupPlanName
- The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
An array of
BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
rules
- An array ofBackupRule
objects, 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.
-
rules
An array of
BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
rules
- An array ofBackupRule
objects, 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.
-
rules
An array of
This is a convenience method that creates an instance of theBackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.BackupRule.Builder
avoiding the need to create one manually viaBackupRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<BackupRule>)
.- Parameters:
rules
- a consumer that will call methods onBackupRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
advancedBackupSettings
Contains a list of
BackupOptions
for each resource type.- Parameters:
advancedBackupSettings
- Contains a list ofBackupOptions
for each resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
Contains a list of
BackupOptions
for each resource type.- Parameters:
advancedBackupSettings
- Contains a list ofBackupOptions
for each resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
BackupPlan.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings) Contains a list of
This is a convenience method that creates an instance of theBackupOptions
for each resource type.AdvancedBackupSetting.Builder
avoiding the need to create one manually viaAdvancedBackupSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedBackupSettings(List<AdvancedBackupSetting>)
.- Parameters:
advancedBackupSettings
- a consumer that will call methods onAdvancedBackupSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-