public CompleteAttachmentUploadRequest withAttachmentIds(String... attachmentIds) {
        if (this.attachmentIds == null) {
            setAttachmentIds(new java.util.ArrayList<String>(attachmentIds.length));
        }
        for (String ele : attachmentIds) {
            this.attachmentIds.add(ele);
        }
        return this;
    }
<p>
A list of unique identifiers for the attachments.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAttachmentIds(java.util.Collection)} or {@link #withAttachmentIds(java.util.Collection)} if you want
to override the existing values.
</p>

@param attachmentIds
       A list of unique identifiers for the attachments.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/CompleteAttachmentUploadRequest.java