public void setImageDetails(java.util.Collection<ImageDetail> imageDetails) {
        if (imageDetails == null) {
            this.imageDetails = null;
            return;
        }

        this.imageDetails = new java.util.ArrayList<ImageDetail>(imageDetails);
    }
<p>
A list of <a>ImageDetail</a> objects that contain data about the image.
</p>

@param imageDetails
       A list of <a>ImageDetail</a> objects that contain data about the image.
aws-java-sdk-ecrpublic/src/main/java/com/amazonaws/services/ecrpublic/model/DescribeImagesResult.java