Class CustomerManagedEncryption (6.51.0)

public class CustomerManagedEncryption implements BackupEncryptionConfig, RestoreEncryptionConfig

The data is encrypted with a key provided by the customer.

Inheritance

Object > CustomerManagedEncryption

Static Methods

fromProtoOrNull(EncryptionConfig proto)

public static CustomerManagedEncryption fromProtoOrNull(EncryptionConfig proto)

Returns a CustomerManagedEncryption instance from the given proto, or null if the given proto is the default proto instance (i.e. there is no encryption config).

Parameter
NameDescription
protoEncryptionConfig
Returns
TypeDescription
CustomerManagedEncryption

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

getKmsKeyName()

public String getKmsKeyName()
Returns
TypeDescription
String

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toProto()

public EncryptionConfig toProto()
Returns
TypeDescription
EncryptionConfig

toString()

public String toString()
Returns
TypeDescription
String
Overrides