public ConnectionHttpParameters withHeaderParameters(ConnectionHeaderParameter... headerParameters) {
        if (this.headerParameters == null) {
            setHeaderParameters(new java.util.ArrayList<ConnectionHeaderParameter>(headerParameters.length));
        }
        for (ConnectionHeaderParameter ele : headerParameters) {
            this.headerParameters.add(ele);
        }
        return this;
    }
<p>
Contains additional header parameters for the connection.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setHeaderParameters(java.util.Collection)} or {@link #withHeaderParameters(java.util.Collection)} if you
want to override the existing values.
</p>

@param headerParameters
       Contains additional header parameters for the connection.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/ConnectionHttpParameters.java