public java.util.List<PackageVersionSummary> getVersions() {
        return versions;
    }
<p>
The returned list of <a
href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html"
>PackageVersionSummary</a> objects.
</p>

@return The returned list of <a
        href="https://docs.aws.amazon.com/codeartifact/latest/APIReference/API_PackageVersionSummary.html"
        >PackageVersionSummary</a> objects.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/ListPackageVersionsResult.java