Class EncryptionPreferences
- java.lang.Object
-
- com.azure.resourcemanager.edgeorder.models.EncryptionPreferences
-
public final class EncryptionPreferences extends Object
Preferences related to the double encryption.
-
-
Constructor Summary
Constructors Constructor Description EncryptionPreferences()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleEncryptionStatus
doubleEncryptionStatus()
Get the doubleEncryptionStatus property: Double encryption status as entered by the customer.void
validate()
Validates the instance.EncryptionPreferences
withDoubleEncryptionStatus(DoubleEncryptionStatus doubleEncryptionStatus)
Set the doubleEncryptionStatus property: Double encryption status as entered by the customer.
-
-
-
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.
-
-