public DescribeImageTagsResult withImageTagDetails(ImageTagDetail... imageTagDetails) {
        if (this.imageTagDetails == null) {
            setImageTagDetails(new java.util.ArrayList<ImageTagDetail>(imageTagDetails.length));
        }
        for (ImageTagDetail ele : imageTagDetails) {
            this.imageTagDetails.add(ele);
        }
        return this;
    }
<p>
The image tag details for the images in the requested repository.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setImageTagDetails(java.util.Collection)} or {@link #withImageTagDetails(java.util.Collection)} if you
want to override the existing values.
</p>

@param imageTagDetails
       The image tag details for the images in the requested repository.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecrpublic/src/main/java/com/amazonaws/services/ecrpublic/model/DescribeImageTagsResult.java