public Map configMap()

in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [899:923]


        public Map<String, String> configMap() {
            final HashMap<String, String> map = new HashMap<>();
            if (endpoints != null) {
                map.put("endpoints", endpoints);
            }
            if (username != null) {
                map.put("username", username);
            }
            if (password != null) {
                map.put("password", password);
            }
            if (root != null) {
                map.put("root", root);
            }
            if (caPath != null) {
                map.put("ca_path", caPath);
            }
            if (certPath != null) {
                map.put("cert_path", certPath);
            }
            if (keyPath != null) {
                map.put("key_path", keyPath);
            }
            return map;
        }