Class EncryptionDetails


  • public final class EncryptionDetails
    extends Object
    Details needed if the VM was encrypted at the time of backup.
    • Constructor Detail

      • EncryptionDetails

        public EncryptionDetails()
    • Method Detail

      • encryptionEnabled

        public Boolean encryptionEnabled()
        Get the encryptionEnabled property: Identifies whether this backup copy represents an encrypted VM at the time of backup.
        Returns:
        the encryptionEnabled value.
      • withEncryptionEnabled

        public EncryptionDetails withEncryptionEnabled​(Boolean encryptionEnabled)
        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

        public String kekUrl()
        Get the kekUrl property: Key Url.
        Returns:
        the kekUrl value.
      • withKekUrl

        public EncryptionDetails withKekUrl​(String kekUrl)
        Set the kekUrl property: Key Url.
        Parameters:
        kekUrl - the kekUrl value to set.
        Returns:
        the EncryptionDetails object itself.
      • secretKeyUrl

        public String secretKeyUrl()
        Get the secretKeyUrl property: Secret Url.
        Returns:
        the secretKeyUrl value.
      • withSecretKeyUrl

        public EncryptionDetails withSecretKeyUrl​(String secretKeyUrl)
        Set the secretKeyUrl property: Secret Url.
        Parameters:
        secretKeyUrl - the secretKeyUrl value to set.
        Returns:
        the EncryptionDetails object itself.
      • kekVaultId

        public String kekVaultId()
        Get the kekVaultId property: ID of Key Vault where KEK is stored.
        Returns:
        the kekVaultId value.
      • withKekVaultId

        public EncryptionDetails withKekVaultId​(String kekVaultId)
        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

        public String secretKeyVaultId()
        Get the secretKeyVaultId property: ID of Key Vault where Secret is stored.
        Returns:
        the secretKeyVaultId value.
      • withSecretKeyVaultId

        public EncryptionDetails withSecretKeyVaultId​(String secretKeyVaultId)
        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.