Class CustomerManagedEncryption (6.82.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
Name Description
proto EncryptionConfig
Returns
Type Description
CustomerManagedEncryption

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

getKmsKeyName()

public String getKmsKeyName()
Returns
Type Description
String

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toProto()

public EncryptionConfig toProto()
Returns
Type Description
EncryptionConfig

toString()

public String toString()
Returns
Type Description
String
Overrides