public AwsEcrContainerImageDetails withImageTags(String... imageTags) {
        if (this.imageTags == null) {
            setImageTags(new java.util.ArrayList<String>(imageTags.length));
        }
        for (String ele : imageTags) {
            this.imageTags.add(ele);
        }
        return this;
    }
<p>
The image tags attached to the Amazon ECR container image.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setImageTags(java.util.Collection)} or {@link #withImageTags(java.util.Collection)} if you want to
override the existing values.
</p>

@param imageTags
       The image tags attached to the Amazon ECR container image.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/AwsEcrContainerImageDetails.java