public Item withAttachments(java.util.Collection<AttachmentItem> attachments) {
        setAttachments(attachments);
        return this;
    }
<p>
Provides information about the attachments.
</p>

@param attachments
       Provides information about 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/Item.java