code: public static LightblueClientConfiguration fromObject(Properties properties) {
          LightblueClientConfiguration config = new LightblueClientConfiguration();
  
          config.setCaFilePath(properties.getProperty(CA_FILE_PATH_KEY));
          config.setCertFilePath(properties.getProperty(CERT_FILE_PATH_KEY));
          config.setCertPassword(properties.getProperty(CERT_PASSWORD_KEY));
          config.setCertAlias(properties.getProperty(CERT_ALIAS_KEY));
          config.setDataServiceURI(properties.getProperty(DATA_SERVICE_URI_KEY));
          config.setMetadataServiceURI(properties.getProperty(METADATA_SERVICE_URI_KEY));
          config.setAcceptSelfSignedCert(Boolean.parseBoolean(properties.getProperty(ACCEPT_SELF_SIGNED_CERT_KEY)));
          config.setUseCertAuth(Boolean.parseBoolean(properties.getProperty(USE_CERT_AUTH_KEY)));
          config.setBasicAuthUsername(properties.getProperty(BASIC_AUTH_USERNAME_KEY));
          config.setBasicAuthPassword(properties.getProperty(BASIC_AUTH_PASSWORD_KEY));
          if (properties.containsKey(COMPRESSION)) {
              config.setCompression(Compression.parseCompression(properties.getProperty(COMPRESSION)));
          }
          if (properties.containsKey(MONGO_READ_PREFERENCE)) {
              config.setReadPreference(ReadPreference.valueOf(
                      properties.getProperty(MONGO_READ_PREFERENCE)));
          }
          if (properties.containsKey(MONGO_WRITE_CONCERN)) {
              config.setWriteConcern(WriteConcern.valueOf(properties.getProperty(MONGO_WRITE_CONCERN)));
          }
          if (properties.containsKey(MONGO_MAX_QUERY_TIME_MS)) {
              config.setMaxQueryTimeMS(Integer.parseInt(properties.getProperty(MONGO_MAX_QUERY_TIME_MS)));
          }
  
          return config;
      }
docs: For client configuration property keys, see
  {@link com.redhat.lightblue.client.PropertiesLightblueClientConfiguration}.