code: public BoxRequestsFile.UploadFile getUploadRequest(InputStream fileInputStream, String fileName, String destinationFolderId){
          BoxRequestsFile.UploadFile request = new BoxRequestsFile.UploadFile(fileInputStream, fileName, destinationFolderId, getFileUploadUrl(), mSession);
          return request;
      }
docs: Gets a request that uploads a file from an input stream
  
  @param fileInputStream   input stream of the file
  @param fileName  name of the new file
  @param destinationFolderId   id of the parent folder for the new file
  @return  request to upload a file from an input stream