code: private InternalRequest createRequest(AbstractBceRequest bceRequest, HttpMethodName httpMethod,
              String... pathVariables) {
          List<String> path = new ArrayList<String>();
  
          path.add(VERSION);
  
          if (pathVariables != null) {
              for (String pathVariable : pathVariables) {
                  path.add(pathVariable);
              }
          }
          URI uri = HttpUtils.appendUri(this.getEndpoint(), path.toArray(new String[path.size()]));
          InternalRequest request = new InternalRequest(httpMethod, uri);
          request.setCredentials(bceRequest.getRequestCredentials());
          return request;
      }
docs: Creates and initializes a new request object for the specified bcc resource. This method is responsible
  for determining the right way to address resources.
  
  @param bceRequest The original request, as created by the user.
  @param httpMethod The HTTP method to use when sending the request.
  @param pathVariables The optional variables used in the URI path.
  @return A new request object, populated with endpoint, resource path, ready for callers to populate
  any additional headers or parameters, and execute.