in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [194:212]
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 (privateKey != null) {
map.put("private_key", privateKey);
}
if (publicKey != null) {
map.put("public_key", publicKey);
}
if (parentResourceId != null) {
map.put("parent_resource_id", parentResourceId);
}
return map;
}