Class EncryptionPreferences
java.lang.Object
com.azure.resourcemanager.databox.models.EncryptionPreferences
Preferences related to the Encryption.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the doubleEncryption property: Defines secondary layer of software-based encryption enablement.void
validate()
Validates the instance.withDoubleEncryption
(DoubleEncryption doubleEncryption) Set the doubleEncryption property: Defines secondary layer of software-based encryption enablement.
-
Constructor Details
-
EncryptionPreferences
public EncryptionPreferences()Creates an instance of EncryptionPreferences class.
-
-
Method Details
-
doubleEncryption
Get the doubleEncryption property: Defines secondary layer of software-based encryption enablement.- Returns:
- the doubleEncryption value.
-
withDoubleEncryption
Set the doubleEncryption property: Defines secondary layer of software-based encryption enablement.- Parameters:
doubleEncryption
- the doubleEncryption value to set.- Returns:
- the EncryptionPreferences object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-