public void setVersions(java.util.Collection<String> versions) {
        if (versions == null) {
            this.versions = null;
            return;
        }

        this.versions = new java.util.ArrayList<String>(versions);
    }
<p>
A list of environment image versions.
</p>

@param versions
       A list of environment image versions.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/EnvironmentImage.java