in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [1667:1688]
public Map<String, String> configMap() {
final HashMap<String, String> map = new HashMap<>();
if (endpoint != null) {
map.put("endpoint", endpoint);
}
if (username != null) {
map.put("username", username);
}
if (password != null) {
map.put("password", password);
}
if (root != null) {
map.put("root", root);
}
if (repository != null) {
map.put("repository", repository);
}
if (branch != null) {
map.put("branch", branch);
}
return map;
}