in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [3095:3116]
public Map<String, String> configMap() {
final HashMap<String, String> map = new HashMap<>();
if (endpoint != null) {
map.put("endpoint", endpoint);
}
if (root != null) {
map.put("root", root);
}
if (user != null) {
map.put("user", user);
}
if (key != null) {
map.put("key", key);
}
if (knownHostsStrategy != null) {
map.put("known_hosts_strategy", knownHostsStrategy);
}
if (enableCopy != null) {
map.put("enable_copy", String.valueOf(enableCopy));
}
return map;
}