public UserProfile fetchUserProfile(GitHub github) { GitHubUserProfile profile = github.userOperations().getUserProfile(); return new UserProfileBuilder() .setName(profile.getName()) .setEmail(profile.getEmail()) .setUsername(profile.getLogin()) .build(); }