public ConnectorOAuthRequest withAuthCode(String authCode) {
        setAuthCode(authCode);
        return this;
    }
<p>
The code provided by the connector when it has been authenticated via the connected app.
</p>

@param authCode
       The code provided by the connector when it has been authenticated via the connected app.
@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/ConnectorOAuthRequest.java