Class EncryptionConfigProtoMapper

public class EncryptionConfigProtoMapper

Maps encryption config domain classes to their protobuf counterpart.

Inheritance

java.lang.Object > EncryptionConfigProtoMapper

Static Methods

createBackupEncryptionConfig(BackupEncryptionConfig config)

public static CreateBackupEncryptionConfig createBackupEncryptionConfig(BackupEncryptionConfig config)

Returns an encryption config to be used for a backup.

Parameter
NameDescription
configBackupEncryptionConfig
Returns
TypeDescription
CreateBackupEncryptionConfig

encryptionConfig(CustomerManagedEncryption config)

public static EncryptionConfig encryptionConfig(CustomerManagedEncryption config)

Returns an encryption config to be used for a database.

Parameter
NameDescription
configCustomerManagedEncryption
Returns
TypeDescription
EncryptionConfig

restoreDatabaseEncryptionConfig(RestoreEncryptionConfig config)

public static RestoreDatabaseEncryptionConfig restoreDatabaseEncryptionConfig(RestoreEncryptionConfig config)

Returns an encryption config to be used for a database restore.

Parameter
NameDescription
configRestoreEncryptionConfig
Returns
TypeDescription
RestoreDatabaseEncryptionConfig

Constructors

EncryptionConfigProtoMapper()

public EncryptionConfigProtoMapper()