public CreateConnectionAuthRequestParameters withApiKeyAuthParameters(CreateConnectionApiKeyAuthRequestParameters apiKeyAuthParameters) {
        setApiKeyAuthParameters(apiKeyAuthParameters);
        return this;
    }
<p>
A <code>CreateConnectionApiKeyAuthRequestParameters</code> object that contains the API key authorization
parameters to use for the connection.
</p>

@param apiKeyAuthParameters
       A <code>CreateConnectionApiKeyAuthRequestParameters</code> object that contains the API key authorization
       parameters to use 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/CreateConnectionAuthRequestParameters.java