Interface BackupPlanInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BackupPlanInput.Builder,BackupPlanInput>,SdkBuilder<BackupPlanInput.Builder,BackupPlanInput>,SdkPojo
- Enclosing class:
- BackupPlanInput
public static interface BackupPlanInput.Builder extends SdkPojo, CopyableBuilder<BackupPlanInput.Builder,BackupPlanInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupPlanInput.BuilderadvancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)Specifies a list ofBackupOptionsfor each resource type.BackupPlanInput.BuilderadvancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings)Specifies a list ofBackupOptionsfor each resource type.BackupPlanInput.BuilderadvancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)Specifies a list ofBackupOptionsfor each resource type.BackupPlanInput.BuilderbackupPlanName(String backupPlanName)The display name of a backup plan.BackupPlanInput.Builderrules(Collection<BackupRuleInput> rules)An array ofBackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.BackupPlanInput.Builderrules(Consumer<BackupRuleInput.Builder>... rules)An array ofBackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.BackupPlanInput.Builderrules(BackupRuleInput... 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.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 Detail
-
backupPlanName
BackupPlanInput.Builder backupPlanName(String 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
BackupPlanInput.Builder rules(Collection<BackupRuleInput> rules)
An array of
BackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
rules- An array ofBackupRuleobjects, 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
BackupPlanInput.Builder rules(BackupRuleInput... rules)
An array of
BackupRuleobjects, each of which specifies a scheduled task that is used to back up a selection of resources.- Parameters:
rules- An array ofBackupRuleobjects, 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
BackupPlanInput.Builder rules(Consumer<BackupRuleInput.Builder>... rules)
An 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.BackupRuleInput.Builderavoiding the need to create one manually viaBackupRuleInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onBackupRuleInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
advancedBackupSettings
BackupPlanInput.Builder advancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)
Specifies a list of
BackupOptionsfor each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Parameters:
advancedBackupSettings- Specifies a list ofBackupOptionsfor each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
BackupPlanInput.Builder advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)
Specifies a list of
BackupOptionsfor each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Parameters:
advancedBackupSettings- Specifies a list ofBackupOptionsfor each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
advancedBackupSettings
BackupPlanInput.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings)
Specifies a list of
This is a convenience method that creates an instance of theBackupOptionsfor each resource type. These settings are only available for Windows Volume Shadow Copy Service (VSS) backup jobs.AdvancedBackupSetting.Builderavoiding the need to create one manually viaAdvancedBackupSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#advancedBackupSettings(List.) - 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:
#advancedBackupSettings(java.util.Collection)
-
-