code: public static ClientBuilder account(String account) {
          logger.config("Account: " + account);
          return ClientBuilder.url(
                  convertStringToURL(String.format("https://%s.cloudant.com", account)));
      }
docs: Constructs a new ClientBuilder for building a CloudantClient instance to connect to the
  Cloudant server with the specified account.
  
  @param account the Cloudant account name to connect to e.g. "example" is the account name
  for the "example.cloudant.com" endpoint
  @return a new ClientBuilder for the account
  @throws IllegalArgumentException if the specified account name forms an invalid endpoint URL