| Constructor and Description |
|---|
Builder(BackupId source,
DatabaseId destination) |
| Modifier and Type | Method and Description |
|---|---|
Restore |
build() |
Restore.Builder |
setEncryptionConfig(RestoreEncryptionConfig encryptionConfig)
Optional for restoring a backup.
|
public Builder(BackupId source, DatabaseId destination)
public Restore.Builder setEncryptionConfig(RestoreEncryptionConfig encryptionConfig)
The encryption configuration to be used for the backup. The possible configurations are
CustomerManagedEncryption, GoogleDefaultEncryption and UseBackupEncryption.
If no encryption config is given the database will be restored with the same encryption as
set by the backup (UseBackupEncryption).
public Restore build()
Copyright © 2021 Google LLC. All rights reserved.