public URL getOverrideConfigFileLocation() {
        if (overrideConfigFileLocations == null || overrideConfigFileLocations.isEmpty()) {
            return null;
        }
        return overrideConfigFileLocations.get(0);
    }
Remove duplicates from the provided list, while preserving the order of the elements in this list. We do this
manually instead of using a LinkedHashSet for the override URLs, because the set would invoke the URL's equals method.
URL's equals method requires a DNS query, which is not desired.
aws-java-sdk-core/src/main/java/com/amazonaws/internal/config/InternalConfig.java