Class EncryptionConfigProtoMapper (6.65.1)

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
Name Description
config BackupEncryptionConfig
Returns
Type Description
CopyBackupEncryptionConfig

createBackupEncryptionConfig(BackupEncryptionConfig config)

public static CreateBackupEncryptionConfig createBackupEncryptionConfig(BackupEncryptionConfig config)

Returns an encryption config to be used for a backup.

Parameter
Name Description
config BackupEncryptionConfig
Returns
Type Description
CreateBackupEncryptionConfig

encryptionConfig(CustomerManagedEncryption config)

public static EncryptionConfig encryptionConfig(CustomerManagedEncryption config)

Returns an encryption config to be used for a database.

Parameter
Name Description
config CustomerManagedEncryption
Returns
Type Description
EncryptionConfig

restoreDatabaseEncryptionConfig(RestoreEncryptionConfig config)

public static RestoreDatabaseEncryptionConfig restoreDatabaseEncryptionConfig(RestoreEncryptionConfig config)

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

Parameter
Name Description
config RestoreEncryptionConfig
Returns
Type Description
RestoreDatabaseEncryptionConfig

Constructors

EncryptionConfigProtoMapper()

public EncryptionConfigProtoMapper()