public DescribeStoreImageTasksRequest withImageIds(String... imageIds) {
        if (this.imageIds == null) {
            setImageIds(new com.amazonaws.internal.SdkInternalList<String>(imageIds.length));
        }
        for (String ele : imageIds) {
            this.imageIds.add(ele);
        }
        return this;
    }
<p>
The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setImageIds(java.util.Collection)} or {@link #withImageIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param imageIds
       The AMI IDs for which to show progress. Up to 20 AMI IDs can be included in a request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/DescribeStoreImageTasksRequest.java