docs: public static void addTokenForJob(final RestClient client, ClusterName clusterName, User user, Job job) {
          Token<EsTokenIdentifier> token = getAuthToken(clusterName, user);
          if (token == null) {
              token = obtainToken(client, user);
          }
          job.getCredentials().addToken(token.getService(), token);
      }