public void setTtl(long ttl) {
        this.ttl = ttl;
    }
@param ttl the time to live to set
gateway/engine/policies/src/main/java/io/apiman/gateway/engine/policies/config/CachingResourcesConfig.java