public Map configMap()

in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [275:306]


        public Map<String, String> configMap() {
            final HashMap<String, String> map = new HashMap<>();
            map.put("container", container);
            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 (encryptionKey != null) {
                map.put("encryption_key", encryptionKey);
            }
            if (encryptionKeySha256 != null) {
                map.put("encryption_key_sha256", encryptionKeySha256);
            }
            if (encryptionAlgorithm != null) {
                map.put("encryption_algorithm", encryptionAlgorithm);
            }
            if (sasToken != null) {
                map.put("sas_token", sasToken);
            }
            if (batchMaxOperations != null) {
                map.put("batch_max_operations", String.valueOf(batchMaxOperations));
            }
            return map;
        }