java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.KekDetails

public final class KekDetails extends Object
KEK is encryption key for BEK.
  • Constructor Details

    • KekDetails

      public KekDetails()
      Creates an instance of KekDetails class.
  • Method Details

    • 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.