in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [3566:3587]
public Map<String, String> configMap() {
final HashMap<String, String> map = new HashMap<>();
if (root != null) {
map.put("root", root);
}
if (endpoint != null) {
map.put("endpoint", endpoint);
}
if (userName != null) {
map.put("user_name", userName);
}
if (delegation != null) {
map.put("delegation", delegation);
}
if (disableListBatch != null) {
map.put("disable_list_batch", String.valueOf(disableListBatch));
}
if (atomicWriteDir != null) {
map.put("atomic_write_dir", atomicWriteDir);
}
return map;
}