Package com.google.cloud.spanner
Class Restore.Builder
java.lang.Object
com.google.cloud.spanner.Restore.Builder
- Enclosing class:
- Restore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()setEncryptionConfig(RestoreEncryptionConfig encryptionConfig) Optional for restoring a backup.
-
Constructor Details
-
Builder
-
-
Method Details
-
setEncryptionConfig
Optional for restoring a backup.The encryption configuration to be used for the backup. The possible configurations are
CustomerManagedEncryption,GoogleDefaultEncryptionandUseBackupEncryption.If no encryption config is given the database will be restored with the same encryption as set by the backup (
UseBackupEncryption). -
build
-