public CreateConnectionResult withConnection(Connection connection) {
        setConnection(connection);
        return this;
    }
<p>
A description of the App Runner connection that's created by this request.
</p>

@param connection
       A description of the App Runner connection that's created by this request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apprunner/src/main/java/com/amazonaws/services/apprunner/model/CreateConnectionResult.java