Class EncryptionPreferences


  • public final class EncryptionPreferences
    extends Object
    Preferences related to the double encryption.
    • Constructor Detail

      • EncryptionPreferences

        public EncryptionPreferences()
    • Method Detail

      • doubleEncryptionStatus

        public DoubleEncryptionStatus doubleEncryptionStatus()
        Get the doubleEncryptionStatus property: Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
        Returns:
        the doubleEncryptionStatus value.
      • withDoubleEncryptionStatus

        public EncryptionPreferences withDoubleEncryptionStatus​(DoubleEncryptionStatus doubleEncryptionStatus)
        Set the doubleEncryptionStatus property: Double encryption status as entered by the customer. It is compulsory to give this parameter if the 'Deny' or 'Disabled' policy is configured.
        Parameters:
        doubleEncryptionStatus - the doubleEncryptionStatus value to set.
        Returns:
        the EncryptionPreferences object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.