public String getDecodedUrl() {
        StringBuilder builder = new StringBuilder();
        builder.append(type.group())
                .append(PATH_SEPARATOR)
                .append(bucketName)
                .append(PATH_SEPARATOR);

        if (!parentFolders.isEmpty()) {
            String parentPath = String.join(PATH_SEPARATOR, parentFolders);
            builder.append(parentPath)
                    .append(PATH_SEPARATOR);
        }

        if (name != null) {
            builder.append(name);

            if (isFolder) {
                builder.append(PATH_SEPARATOR);
            }
        }

        return builder.toString();
    }
Returns decoded url to the resource with encrypted path to the bucket.
storage/src/main/java/com/epam/aidial/core/storage/resource/ResourceDescriptor.java