public HttpParameters withHeaderParameters(java.util.Map<String, String> headerParameters) {
        setHeaderParameters(headerParameters);
        return this;
    }
<p>
The headers that need to be sent as part of request invoking the API Gateway API or EventBridge ApiDestination.
</p>

@param headerParameters
       The headers that need to be sent as part of request invoking the API Gateway API or EventBridge
       ApiDestination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/HttpParameters.java