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

        this.repositories = new java.util.ArrayList<Repository>(repositories);
    }
<p>
A list of repository objects corresponding to valid repositories.
</p>

@param repositories
       A list of repository objects corresponding to valid repositories.
aws-java-sdk-ecrpublic/src/main/java/com/amazonaws/services/ecrpublic/model/DescribeRepositoriesResult.java