public ParametersInCacheKeyAndForwardedToOrigin withHeadersConfig(CachePolicyHeadersConfig headersConfig) {
        setHeadersConfig(headersConfig);
        return this;
    }
<p>
An object that determines whether any HTTP headers (and if so, which headers) are included in the cache key and
in requests that CloudFront sends to the origin.
</p>

@param headersConfig
       An object that determines whether any HTTP headers (and if so, which headers) are included in the cache
       key and in requests that CloudFront sends to the origin.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/ParametersInCacheKeyAndForwardedToOrigin.java