public void setAttachments(java.util.Collection<AttachmentItem> attachments) {
        if (attachments == null) {
            this.attachments = null;
            return;
        }

        this.attachments = new java.util.ArrayList<AttachmentItem>(attachments);
    }
<p>
Provides information about the attachments.
</p>

@param attachments
       Provides information about the attachments.
aws-java-sdk-connectparticipant/src/main/java/com/amazonaws/services/connectparticipant/model/Item.java