Class AccountEncryption


  • public final class AccountEncryption
    extends Object
    Defines how the Video Analyzer account is (optionally) encrypted.
    • Constructor Detail

      • AccountEncryption

        public AccountEncryption()
    • Method Detail

      • type

        public AccountEncryptionKeyType type()
        Get the type property: The type of key used to encrypt the Account Key.
        Returns:
        the type value.
      • withType

        public AccountEncryption withType​(AccountEncryptionKeyType type)
        Set the type property: The type of key used to encrypt the Account Key.
        Parameters:
        type - the type value to set.
        Returns:
        the AccountEncryption object itself.
      • keyVaultProperties

        public KeyVaultProperties keyVaultProperties()
        Get the keyVaultProperties property: The properties of the key used to encrypt the account.
        Returns:
        the keyVaultProperties value.
      • withKeyVaultProperties

        public AccountEncryption withKeyVaultProperties​(KeyVaultProperties keyVaultProperties)
        Set the keyVaultProperties property: The properties of the key used to encrypt the account.
        Parameters:
        keyVaultProperties - the keyVaultProperties value to set.
        Returns:
        the AccountEncryption object itself.
      • identity

        public ResourceIdentity identity()
        Get the identity property: The Key Vault identity.
        Returns:
        the identity value.
      • withIdentity

        public AccountEncryption withIdentity​(ResourceIdentity identity)
        Set the identity property: The Key Vault identity.
        Parameters:
        identity - the identity value to set.
        Returns:
        the AccountEncryption object itself.
      • status

        public String status()
        Get the status property: The current status of the Key Vault mapping.
        Returns:
        the status value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.