Class EncryptionPreferences

java.lang.Object
com.azure.resourcemanager.databox.models.EncryptionPreferences

public final class EncryptionPreferences extends Object
Preferences related to the Encryption.
  • Constructor Details

    • EncryptionPreferences

      public EncryptionPreferences()
      Creates an instance of EncryptionPreferences class.
  • Method Details

    • doubleEncryption

      public DoubleEncryption doubleEncryption()
      Get the doubleEncryption property: Defines secondary layer of software-based encryption enablement.
      Returns:
      the doubleEncryption value.
    • withDoubleEncryption

      public EncryptionPreferences withDoubleEncryption(DoubleEncryption doubleEncryption)
      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.