in bindings/java/src/main/java/org/apache/opendal/ServiceConfig.java [2914:2999]
public Map<String, String> configMap() {
final HashMap<String, String> map = new HashMap<>();
map.put("bucket", bucket);
if (root != null) {
map.put("root", root);
}
if (enableVersioning != null) {
map.put("enable_versioning", String.valueOf(enableVersioning));
}
if (endpoint != null) {
map.put("endpoint", endpoint);
}
if (region != null) {
map.put("region", region);
}
if (accessKeyId != null) {
map.put("access_key_id", accessKeyId);
}
if (secretAccessKey != null) {
map.put("secret_access_key", secretAccessKey);
}
if (sessionToken != null) {
map.put("session_token", sessionToken);
}
if (roleArn != null) {
map.put("role_arn", roleArn);
}
if (externalId != null) {
map.put("external_id", externalId);
}
if (roleSessionName != null) {
map.put("role_session_name", roleSessionName);
}
if (disableConfigLoad != null) {
map.put("disable_config_load", String.valueOf(disableConfigLoad));
}
if (disableEc2Metadata != null) {
map.put("disable_ec2_metadata", String.valueOf(disableEc2Metadata));
}
if (allowAnonymous != null) {
map.put("allow_anonymous", String.valueOf(allowAnonymous));
}
if (serverSideEncryption != null) {
map.put("server_side_encryption", serverSideEncryption);
}
if (serverSideEncryptionAwsKmsKeyId != null) {
map.put("server_side_encryption_aws_kms_key_id", serverSideEncryptionAwsKmsKeyId);
}
if (serverSideEncryptionCustomerAlgorithm != null) {
map.put("server_side_encryption_customer_algorithm", serverSideEncryptionCustomerAlgorithm);
}
if (serverSideEncryptionCustomerKey != null) {
map.put("server_side_encryption_customer_key", serverSideEncryptionCustomerKey);
}
if (serverSideEncryptionCustomerKeyMd5 != null) {
map.put("server_side_encryption_customer_key_md5", serverSideEncryptionCustomerKeyMd5);
}
if (defaultStorageClass != null) {
map.put("default_storage_class", defaultStorageClass);
}
if (enableVirtualHostStyle != null) {
map.put("enable_virtual_host_style", String.valueOf(enableVirtualHostStyle));
}
if (batchMaxOperations != null) {
map.put("batch_max_operations", String.valueOf(batchMaxOperations));
}
if (deleteMaxSize != null) {
map.put("delete_max_size", String.valueOf(deleteMaxSize));
}
if (disableStatWithOverride != null) {
map.put("disable_stat_with_override", String.valueOf(disableStatWithOverride));
}
if (checksumAlgorithm != null) {
map.put("checksum_algorithm", checksumAlgorithm);
}
if (disableWriteWithIfMatch != null) {
map.put("disable_write_with_if_match", String.valueOf(disableWriteWithIfMatch));
}
if (enableWriteWithAppend != null) {
map.put("enable_write_with_append", String.valueOf(enableWriteWithAppend));
}
if (disableListObjectsV2 != null) {
map.put("disable_list_objects_v2", String.valueOf(disableListObjectsV2));
}
return map;
}