Interface BackupSettings
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BackupSettings.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:34.196Z")
@Stability(Experimental)
public interface BackupSettings
extends software.amazon.jsii.JsiiSerializable
(experimental) Backup configuration for ServerlessCache.
Example:
Vpc vpc;
ServerlessCache serverlessCache = ServerlessCache.Builder.create(this, "ServerlessCache")
.engine(CacheEngine.VALKEY_LATEST)
.backup(BackupSettings.builder()
// set a backup name before deleting a cache
.backupNameBeforeDeletion("my-final-backup-name")
.build())
.vpc(vpc)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forBackupSettingsstatic final classAn implementation forBackupSettings -
Method Summary
Modifier and TypeMethodDescriptionstatic BackupSettings.Builderbuilder()(experimental) ARNs of backups from which to restore data into the new cache.default String(experimental) Name for the final backup taken before deletion.default Number(experimental) Number of days to retain backups (1-35).default Schedule(experimental) Automated daily backup UTC time.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBackupArnsToRestore
(experimental) ARNs of backups from which to restore data into the new cache.Default: - Create a new cache with no existing data
-
getBackupNameBeforeDeletion
(experimental) Name for the final backup taken before deletion.Default: - No final backup
-
getBackupRetentionLimit
(experimental) Number of days to retain backups (1-35).Default: - Backups are not retained
-
getBackupTime
(experimental) Automated daily backup UTC time.Default: - No automated backups
-
builder
- Returns:
- a
BackupSettings.BuilderofBackupSettings
-