Class KekDetails
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.KekDetails
-
public final class KekDetails extends Object
KEK is encryption key for BEK.
-
-
Constructor Summary
Constructors Constructor Description KekDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
keyBackupData()
Get the keyBackupData property: KEK data.String
keyUrl()
Get the keyUrl property: Key is KEK.String
keyVaultId()
Get the keyVaultId property: Key Vault ID where this Key is stored.void
validate()
Validates the instance.KekDetails
withKeyBackupData(String keyBackupData)
Set the keyBackupData property: KEK data.KekDetails
withKeyUrl(String keyUrl)
Set the keyUrl property: Key is KEK.KekDetails
withKeyVaultId(String keyVaultId)
Set the keyVaultId property: Key Vault ID where this Key is stored.
-
-
-
Method Detail
-
keyUrl
public String keyUrl()
Get the keyUrl property: Key is KEK.- Returns:
- the keyUrl value.
-
withKeyUrl
public KekDetails withKeyUrl(String keyUrl)
Set the keyUrl property: Key is KEK.- Parameters:
keyUrl
- the keyUrl value to set.- Returns:
- the KekDetails object itself.
-
keyVaultId
public String keyVaultId()
Get the keyVaultId property: Key Vault ID where this Key is stored.- Returns:
- the keyVaultId value.
-
withKeyVaultId
public KekDetails withKeyVaultId(String keyVaultId)
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
public String keyBackupData()
Get the keyBackupData property: KEK data.- Returns:
- the keyBackupData value.
-
withKeyBackupData
public KekDetails withKeyBackupData(String keyBackupData)
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.
-
-