public CorsServiceBuilder addPolicy(CorsPolicy policy) {
        ensureForNewPolicy();
        policies.add(policy);
        return this;
    }
Adds a {@link CorsPolicy} instance in the service.
core/src/main/java/com/linecorp/armeria/server/cors/CorsServiceBuilder.java