Interface AwsBackupBackupPlanBackupPlanDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsBackupBackupPlanBackupPlanDetails.Builder,
,AwsBackupBackupPlanBackupPlanDetails> SdkBuilder<AwsBackupBackupPlanBackupPlanDetails.Builder,
,AwsBackupBackupPlanBackupPlanDetails> SdkPojo
- Enclosing class:
AwsBackupBackupPlanBackupPlanDetails
-
Method Summary
Modifier and TypeMethodDescriptionadvancedBackupSettings
(Collection<AwsBackupBackupPlanAdvancedBackupSettingsDetails> advancedBackupSettings) A list of backup options for each resource type.advancedBackupSettings
(Consumer<AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder>... advancedBackupSettings) A list of backup options for each resource type.advancedBackupSettings
(AwsBackupBackupPlanAdvancedBackupSettingsDetails... advancedBackupSettings) A list of backup options for each resource type.backupPlanName
(String backupPlanName) The display name of a backup plan.backupPlanRule
(Collection<AwsBackupBackupPlanRuleDetails> backupPlanRule) An array ofBackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.backupPlanRule
(Consumer<AwsBackupBackupPlanRuleDetails.Builder>... backupPlanRule) An array ofBackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.backupPlanRule
(AwsBackupBackupPlanRuleDetails... backupPlanRule) 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.
- Parameters:
backupPlanName
- The display name of a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
AwsBackupBackupPlanBackupPlanDetails.Builder advancedBackupSettings(Collection<AwsBackupBackupPlanAdvancedBackupSettingsDetails> advancedBackupSettings) A list of backup options for each resource type.
- Parameters:
advancedBackupSettings
- A list of backup options for each resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
AwsBackupBackupPlanBackupPlanDetails.Builder advancedBackupSettings(AwsBackupBackupPlanAdvancedBackupSettingsDetails... advancedBackupSettings) A list of backup options for each resource type.
- Parameters:
advancedBackupSettings
- A list of backup options for each resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
AwsBackupBackupPlanBackupPlanDetails.Builder advancedBackupSettings(Consumer<AwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder>... advancedBackupSettings) A list of backup options for each resource type.
This is a convenience method that creates an instance of theAwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder
avoiding the need to create one manually viaAwsBackupBackupPlanAdvancedBackupSettingsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toadvancedBackupSettings(List<AwsBackupBackupPlanAdvancedBackupSettingsDetails>)
.- Parameters:
advancedBackupSettings
- a consumer that will call methods onAwsBackupBackupPlanAdvancedBackupSettingsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
backupPlanRule
AwsBackupBackupPlanBackupPlanDetails.Builder backupPlanRule(Collection<AwsBackupBackupPlanRuleDetails> backupPlanRule) An array of
BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
backupPlanRule
- 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.
-
backupPlanRule
AwsBackupBackupPlanBackupPlanDetails.Builder backupPlanRule(AwsBackupBackupPlanRuleDetails... backupPlanRule) An array of
BackupRule
objects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
backupPlanRule
- 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.
-
backupPlanRule
AwsBackupBackupPlanBackupPlanDetails.Builder backupPlanRule(Consumer<AwsBackupBackupPlanRuleDetails.Builder>... backupPlanRule) 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.AwsBackupBackupPlanRuleDetails.Builder
avoiding the need to create one manually viaAwsBackupBackupPlanRuleDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackupPlanRule(List<AwsBackupBackupPlanRuleDetails>)
.- Parameters:
backupPlanRule
- a consumer that will call methods onAwsBackupBackupPlanRuleDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-