public void setDependencies(java.util.Collection<PackageDependency> dependencies) {
        if (dependencies == null) {
            this.dependencies = null;
            return;
        }

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

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