Interface LocalBackupConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LocalBackupConfiguration.Builder,,LocalBackupConfiguration> SdkBuilder<LocalBackupConfiguration.Builder,,LocalBackupConfiguration> SdkPojo
- Enclosing class:
LocalBackupConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbackupToLocalVaultOnly(Boolean backupToLocalVaultOnly) If the value is true, Backup stores backups only in the local backup vault of the appliance and doesn't copy them to the target backup vault of the backup rule.deleteAfterDays(Long deleteAfterDays) The number of days after creation that a backup in the local backup vault is deleted.deleteAfterNextBackup(Boolean deleteAfterNextBackup) If the value is true, Backup deletes a backup in the local backup vault only when both of the following are true: a newer backup of the same resource exists in the same local backup vault, and the scheduled copy of the backup to the target backup vault has completed successfully.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
backupToLocalVaultOnly
If the value is true, Backup stores backups only in the local backup vault of the appliance and doesn't copy them to the target backup vault of the backup rule. The default is false.
- Parameters:
backupToLocalVaultOnly- If the value is true, Backup stores backups only in the local backup vault of the appliance and doesn't copy them to the target backup vault of the backup rule. The default is false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteAfterDays
The number of days after creation that a backup in the local backup vault is deleted. This retention period applies only to the local backup, not to its copies in other backup vaults.
- Parameters:
deleteAfterDays- The number of days after creation that a backup in the local backup vault is deleted. This retention period applies only to the local backup, not to its copies in other backup vaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteAfterNextBackup
If the value is true, Backup deletes a backup in the local backup vault only when both of the following are true: a newer backup of the same resource exists in the same local backup vault, and the scheduled copy of the backup to the target backup vault has completed successfully. If
BackupToLocalVaultOnlyis true, there is no copy, so only the first condition applies. The backup is also deleted when theDeleteAfterDaysretention period ends, whichever happens first.This setting applies only to snapshot backups. Log backups follow the
DeleteAfterDaysretention period.- Parameters:
deleteAfterNextBackup- If the value is true, Backup deletes a backup in the local backup vault only when both of the following are true: a newer backup of the same resource exists in the same local backup vault, and the scheduled copy of the backup to the target backup vault has completed successfully. IfBackupToLocalVaultOnlyis true, there is no copy, so only the first condition applies. The backup is also deleted when theDeleteAfterDaysretention period ends, whichever happens first.This setting applies only to snapshot backups. Log backups follow the
DeleteAfterDaysretention period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-