public void setHeaders(java.util.Collection<HTTPHeader> headers) {
        if (headers == null) {
            this.headers = null;
            return;
        }

        this.headers = new java.util.ArrayList<HTTPHeader>(headers);
    }
<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.
aws-java-sdk-waf/src/main/java/com/amazonaws/services/waf/model/HTTPRequest.java