public static class Database.Builder extends DatabaseInfo.Builder
Modifier and Type | Field and Description |
---|---|
protected DatabaseId |
id |
Modifier and Type | Method and Description |
---|---|
Database |
build()
Builds the database from this builder.
|
DatabaseInfo.Builder |
setEncryptionConfig(CustomerManagedEncryption encryptionConfig)
Optional for creating a new backup.
|
protected final DatabaseId id
public Database build()
DatabaseInfo.Builder
build
in class DatabaseInfo.Builder
public DatabaseInfo.Builder setEncryptionConfig(@Nullable CustomerManagedEncryption encryptionConfig)
DatabaseInfo.Builder
The encryption configuration to be used for the database. The only encryption, other than Google's default encryption, is a customer managed encryption with a provided key. If no encryption is provided, Google's default encryption will be used.
setEncryptionConfig
in class DatabaseInfo.Builder
Copyright © 2021 Google LLC. All rights reserved.