public java.util.List<UpstreamRepository> getUpstreams() {
        return upstreams;
    }
<p>
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the
list determines their priority order when CodeArtifact looks for a requested package version. For more
information, see <a href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with
upstream repositories</a>.
</p>

@return A list of upstream repositories to associate with the repository. The order of the upstream repositories
        in the list determines their priority order when CodeArtifact looks for a requested package version. For
        more information, see <a
        href="https://docs.aws.amazon.com/codeartifact/latest/ug/repos-upstream.html">Working with upstream
        repositories</a>.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/CreateRepositoryRequest.java