public void setRepositories(java.util.Collection<RepositorySummary> repositories) {
        if (repositories == null) {
            this.repositories = null;
            return;
        }

        this.repositories = new java.util.ArrayList<RepositorySummary>(repositories);
    }
<p>
The returned list of <a
href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html"
>RepositorySummary</a> objects.
</p>

@param repositories
       The returned list of <a
       href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_RepositorySummary.html"
       >RepositorySummary</a> objects.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/ListRepositoriesResult.java