public void setAttachment(AttachmentReference attachment) {
        this.attachment = attachment;
    }
<p>
Information about the reference when the <code>referenceType</code> is <code>ATTACHMENT</code>. Otherwise, null.
</p>

@param attachment
       Information about the reference when the <code>referenceType</code> is <code>ATTACHMENT</code>. Otherwise,
       null.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/ReferenceSummary.java