Class EncryptionDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.EncryptionDetails
Details needed if the VM was encrypted at the time of backup.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the encryptionEnabled property: Identifies whether this backup copy represents an encrypted VM at the time of backup.kekUrl()
Get the kekUrl property: Key Url.Get the kekVaultId property: ID of Key Vault where KEK is stored.Get the secretKeyUrl property: Secret Url.Get the secretKeyVaultId property: ID of Key Vault where Secret is stored.void
validate()
Validates the instance.withEncryptionEnabled
(Boolean encryptionEnabled) Set the encryptionEnabled property: Identifies whether this backup copy represents an encrypted VM at the time of backup.withKekUrl
(String kekUrl) Set the kekUrl property: Key Url.withKekVaultId
(String kekVaultId) Set the kekVaultId property: ID of Key Vault where KEK is stored.withSecretKeyUrl
(String secretKeyUrl) Set the secretKeyUrl property: Secret Url.withSecretKeyVaultId
(String secretKeyVaultId) Set the secretKeyVaultId property: ID of Key Vault where Secret is stored.
-
Constructor Details
-
EncryptionDetails
public EncryptionDetails()Creates an instance of EncryptionDetails class.
-
-
Method Details
-
encryptionEnabled
Get the encryptionEnabled property: Identifies whether this backup copy represents an encrypted VM at the time of backup.- Returns:
- the encryptionEnabled value.
-
withEncryptionEnabled
Set the encryptionEnabled property: Identifies whether this backup copy represents an encrypted VM at the time of backup.- Parameters:
encryptionEnabled
- the encryptionEnabled value to set.- Returns:
- the EncryptionDetails object itself.
-
kekUrl
Get the kekUrl property: Key Url.- Returns:
- the kekUrl value.
-
withKekUrl
Set the kekUrl property: Key Url.- Parameters:
kekUrl
- the kekUrl value to set.- Returns:
- the EncryptionDetails object itself.
-
secretKeyUrl
Get the secretKeyUrl property: Secret Url.- Returns:
- the secretKeyUrl value.
-
withSecretKeyUrl
Set the secretKeyUrl property: Secret Url.- Parameters:
secretKeyUrl
- the secretKeyUrl value to set.- Returns:
- the EncryptionDetails object itself.
-
kekVaultId
Get the kekVaultId property: ID of Key Vault where KEK is stored.- Returns:
- the kekVaultId value.
-
withKekVaultId
Set the kekVaultId property: ID of Key Vault where KEK is stored.- Parameters:
kekVaultId
- the kekVaultId value to set.- Returns:
- the EncryptionDetails object itself.
-
secretKeyVaultId
Get the secretKeyVaultId property: ID of Key Vault where Secret is stored.- Returns:
- the secretKeyVaultId value.
-
withSecretKeyVaultId
Set the secretKeyVaultId property: ID of Key Vault where Secret is stored.- Parameters:
secretKeyVaultId
- the secretKeyVaultId value to set.- Returns:
- the EncryptionDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-