public void setAddonVersions(java.util.Collection<AddonVersionInfo> addonVersions) {
        if (addonVersions == null) {
            this.addonVersions = null;
            return;
        }

        this.addonVersions = new java.util.ArrayList<AddonVersionInfo>(addonVersions);
    }
<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.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/AddonInfo.java