EncryptionPreferences Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. EncryptionPreferences
- com.
Implements
public final class EncryptionPreferences
implements JsonSerializable<EncryptionPreferences>
Preferences related to the Encryption.
Constructor Summary
| Constructor | Description |
|---|---|
| EncryptionPreferences() |
Creates an instance of Encryption |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Double |
doubleEncryption()
Get the double |
|
static
Encryption |
fromJson(JsonReader jsonReader)
Reads an instance of Encryption |
|
Hardware |
hardwareEncryption()
Get the hardware |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Encryption |
withDoubleEncryption(DoubleEncryption doubleEncryption)
Set the double |
|
Encryption |
withHardwareEncryption(HardwareEncryption hardwareEncryption)
Set the hardware |
Methods inherited from java.lang.Object
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:
fromJson
public static EncryptionPreferences fromJson(JsonReader jsonReader)
Reads an instance of EncryptionPreferences from the JsonReader.
Parameters:
Returns:
Throws:
hardwareEncryption
public HardwareEncryption hardwareEncryption()
Get the hardwareEncryption property: Defines Hardware level encryption (Only for disk).
Returns:
toJson
validate
public void validate()
Validates the instance.
withDoubleEncryption
public EncryptionPreferences withDoubleEncryption(DoubleEncryption doubleEncryption)
Set the doubleEncryption property: Defines secondary layer of software-based encryption enablement.
Parameters:
Returns:
withHardwareEncryption
public EncryptionPreferences withHardwareEncryption(HardwareEncryption hardwareEncryption)
Set the hardwareEncryption property: Defines Hardware level encryption (Only for disk).
Parameters:
Returns: