public RelatedItemInputContent withContact(Contact contact) {
        setContact(contact);
        return this;
    }
<p>
Object representing a contact in Amazon Connect as an API request field.
</p>

@param contact
       Object representing a contact in Amazon Connect as an API request field.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connectcases/src/main/java/com/amazonaws/services/connectcases/model/RelatedItemInputContent.java