boolean equalsHostnamePattern(String validHostnamePattern, int port) {
        checkArgument(!validHostnamePattern.isEmpty(), "hostnamePattern is empty.");

        if (this.port != port) {
            return false;
        }
        return validHostnamePattern.equals(hostnamePattern);
    }
Returns a newly-created {@link VirtualHost} based on the properties of this builder and the services
added to this builder.
core/src/main/java/com/linecorp/armeria/server/VirtualHostBuilder.java