public HTTPRequest withHeaders(java.util.Collection<HTTPHeader> headers) {
        setHeaders(headers);
        return this;
    }
<p>
A complex type that contains two values for each header in the sampled web request: the name of the header and
the value of the header.
</p>

@param headers
       A complex type that contains two values for each header in the sampled web request: the name of the header
       and the value of the header.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/HTTPRequest.java