public AddonInfo withAddonVersions(java.util.Collection<AddonVersionInfo> addonVersions) {
        setAddonVersions(addonVersions);
        return this;
    }
<p>
An object representing information about available add-on versions and compatible Kubernetes versions.
</p>

@param addonVersions
       An object representing information about available add-on versions and compatible Kubernetes versions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/AddonInfo.java