code: private static ClientConfig createCOSClientConfig(String regionName,
        UnderFileSystemConfiguration conf) {
      ClientConfig config = new ClientConfig(new Region(regionName));
      config.setConnectionTimeout((int) conf.getMs(PropertyKey.COS_CONNECTION_TIMEOUT));
      config.setSocketTimeout((int) conf.getMs(PropertyKey.COS_SOCKET_TIMEOUT));
      config.setMaxConnectionsCount(conf.getInt(PropertyKey.COS_CONNECTION_MAX));
      return config;
    }
docs: Creates an COS {@code ClientConfiguration} using an Alluxio Configuration.
  
  @return the COS {@link ClientConfig}