let's name this method `setInputStream` since 'ApiKey' is redundant.