public void setCompatibilities(java.util.Collection<Compatibility> compatibilities) {
        if (compatibilities == null) {
            this.compatibilities = null;
            return;
        }

        this.compatibilities = new java.util.ArrayList<Compatibility>(compatibilities);
    }
<p>
An object representing the compatibilities of a version.
</p>

@param compatibilities
       An object representing the compatibilities of a version.
aws-java-sdk-eks/src/main/java/com/amazonaws/services/eks/model/AddonVersionInfo.java