code: CorsPolicy build() {
          return new CorsPolicy(origins, pathMappings, credentialsAllowed, maxAge, nullOriginAllowed,
                                exposedHeaders, allowedRequestHeaders, allowedRequestMethods,
                                preflightResponseHeadersDisabled, preflightResponseHeaders);
      }
docs: Returns a newly-created {@link CorsPolicy} based on the properties of this builder.