@Override
    ServerCacheControl build(boolean noCache, boolean noStore, boolean noTransform, long maxAgeSeconds) {
        // 'public' and 'private' are mutually exclusive.
        final boolean cachePublic = cachePrivate ? false : this.cachePublic;
        return new ServerCacheControl(noCache, noStore, noTransform, maxAgeSeconds,
                                      cachePublic, cachePrivate, immutable,
                                      mustRevalidate, proxyRevalidate, sMaxAgeSeconds);
    }
Returns a newly created {@link ServerCacheControl} with the directives enabled so far.
core/src/main/java/com/linecorp/armeria/common/ServerCacheControlBuilder.java