docs: @Override
      public ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException, IOException {
          checkConnection();
          if (name.isPattern())
              throw new InstanceNotFoundException(RESTClientMessagesUtil.getMessage(RESTClientMessagesUtil.OBJECT_NAME_PATTERN, name));
  
          @SuppressWarnings("unchecked")
          Set<ObjectInstance> results = queryMBeans(name, null, null, true);
  
          if (results.size() == 1)
              return results.toArray(new ObjectInstance[1])[0];
          else
              throw new InstanceNotFoundException(RESTClientMessagesUtil.getMessage(RESTClientMessagesUtil.INSTANCE_NOT_FOUND, name));
      }