public DescribeRepositoryResult withRepository(RepositoryDescription repository) {
        setRepository(repository);
        return this;
    }
<p>
A <code>RepositoryDescription</code> object that contains the requested repository information.
</p>

@param repository
       A <code>RepositoryDescription</code> object that contains the requested repository information.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/DescribeRepositoryResult.java