Interface BackupSettings
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
BackupSettings.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-10-01T17:47:05.826Z")
@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 class
A builder forBackupSettings
static final class
An implementation forBackupSettings
-
Method Summary
Modifier and TypeMethodDescriptionstatic BackupSettings.Builder
builder()
(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.Builder
ofBackupSettings
-