public ListPackageVersionDependenciesResult withDependencies(java.util.Collection<PackageDependency> dependencies) {
        setDependencies(dependencies);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/ListPackageVersionDependenciesResult.java