public OAuthCredentials withOAuthRequest(ConnectorOAuthRequest oAuthRequest) {
        setOAuthRequest(oAuthRequest);
        return this;
    }
<p>
The OAuth requirement needed to request security tokens from the connector endpoint.
</p>

@param oAuthRequest
       The OAuth requirement needed to request security tokens from the connector endpoint.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/OAuthCredentials.java