public void setAllowedRepositories(java.util.Collection<String> allowedRepositories) {
        if (allowedRepositories == null) {
            this.allowedRepositories = null;
            return;
        }

        this.allowedRepositories = new java.util.ArrayList<String>(allowedRepositories);
    }
<p>
The list of allowed repositories for the package group and origin configuration restriction type.
</p>

@param allowedRepositories
       The list of allowed repositories for the package group and origin configuration restriction type.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/ListAllowedRepositoriesForGroupResult.java