code: public static ScanCursor of(String cursor) {
          ScanCursor scanCursor = new ScanCursor();
          scanCursor.setCursor(cursor);
          return scanCursor;
      }
docs: Creates a Scan-Cursor reference.
  
  @param cursor the cursor id
  @return ScanCursor