code: public ManagedEntity findByUuid(Datacenter datacenter, String uuid, boolean vmOnly, Boolean instanceUuid) throws RuntimeFault, RemoteException {
          ManagedObjectReference mor = getVimService().findByUuid(getMOR(), datacenter == null ? null : datacenter.getMOR(), uuid, vmOnly, instanceUuid);
          return MorUtil.createExactManagedEntity(getServerConnection(), mor);
      }
docs: SDK4.0 signature