code: protected Client getClient(String id) throws IOException {
          Get get = new Get.Builder(getIndexName(), id).type("client").build(); //$NON-NLS-1$
          JestResult result = getClient().execute(get);
          if (result.isSucceeded()) {
              Client client = result.getSourceAsObject(Client.class);
              return client;
          } else {
              return null;
          }
      }
docs: Gets the client synchronously.
  @param id
  @throws IOException