Class EncryptionConfigProtoMapper (6.50.0)

public class EncryptionConfigProtoMapper

Maps encryption config domain classes to their protobuf counterpart.

Inheritance

java.lang.Object > EncryptionConfigProtoMapper

Static Methods

copyBackupEncryptionConfig(BackupEncryptionConfig config)

public static CopyBackupEncryptionConfig copyBackupEncryptionConfig(BackupEncryptionConfig config)

Returns an encryption config to be used for a copy backup.

Parameter
NameDescription
configBackupEncryptionConfig
Returns
TypeDescription
CopyBackupEncryptionConfig

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()