public RepositoryLinkInfo withOwnerId(String ownerId) {
        setOwnerId(ownerId);
        return this;
    }
<p>
The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
</p>

@param ownerId
       The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codestarconnections/src/main/java/com/amazonaws/services/codestarconnections/model/RepositoryLinkInfo.java