code: public Optional<ImpersonationToken> getOptionalImpersonationToken(Object userIdOrUsername, Integer tokenId) {
          try {
              return (Optional.ofNullable(getImpersonationToken(userIdOrUsername, tokenId)));
          } catch (GitLabApiException glae) {
              return (GitLabApi.createOptionalFromException(glae));
          }
      }
docs: Get an impersonation token of a user as an Optional instance. Available only for admin users.
  
  <pre><code>GitLab Endpoint: GET /users/:user_id/impersonation_tokens/:impersonation_token_id</code></pre>
  
  @param userIdOrUsername the user in the form of an Integer(ID), String(username), or User instance
  @param tokenId the impersonation token ID to get
  @return the specified impersonation token as an Optional instance