Class KekDetails
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.KekDetails
KEK is encryption key for BEK.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the keyBackupData property: KEK data.keyUrl()
Get the keyUrl property: Key is KEK.Get the keyVaultId property: Key Vault ID where this Key is stored.void
validate()
Validates the instance.withKeyBackupData
(String keyBackupData) Set the keyBackupData property: KEK data.withKeyUrl
(String keyUrl) Set the keyUrl property: Key is KEK.withKeyVaultId
(String keyVaultId) Set the keyVaultId property: Key Vault ID where this Key is stored.
-
Constructor Details
-
KekDetails
public KekDetails()Creates an instance of KekDetails class.
-
-
Method Details
-
keyUrl
Get the keyUrl property: Key is KEK.- Returns:
- the keyUrl value.
-
withKeyUrl
Set the keyUrl property: Key is KEK.- Parameters:
keyUrl
- the keyUrl value to set.- Returns:
- the KekDetails object itself.
-
keyVaultId
Get the keyVaultId property: Key Vault ID where this Key is stored.- Returns:
- the keyVaultId value.
-
withKeyVaultId
Set the keyVaultId property: Key Vault ID where this Key is stored.- Parameters:
keyVaultId
- the keyVaultId value to set.- Returns:
- the KekDetails object itself.
-
keyBackupData
Get the keyBackupData property: KEK data.- Returns:
- the keyBackupData value.
-
withKeyBackupData
Set the keyBackupData property: KEK data.- Parameters:
keyBackupData
- the keyBackupData value to set.- Returns:
- the KekDetails object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-