public Map configMap()

in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [400:419]


        public Map<String, String> configMap() {
            final HashMap<String, String> map = new HashMap<>();
            map.put("share_name", shareName);
            if (root != null) {
                map.put("root", root);
            }
            if (endpoint != null) {
                map.put("endpoint", endpoint);
            }
            if (accountName != null) {
                map.put("account_name", accountName);
            }
            if (accountKey != null) {
                map.put("account_key", accountKey);
            }
            if (sasToken != null) {
                map.put("sas_token", sasToken);
            }
            return map;
        }