public StartChatContactRequest withPersistentChat(PersistentChat persistentChat) {
        setPersistentChat(persistentChat);
        return this;
    }
<p>
Enable persistent chats. For more information about enabling persistent chat, and for example use cases and how
to configure for them, see <a
href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent chat</a>.
</p>

@param persistentChat
       Enable persistent chats. For more information about enabling persistent chat, and for example use cases
       and how to configure for them, see <a
       href="https://docs.aws.amazon.com/connect/latest/adminguide/chat-persistence.html">Enable persistent
       chat</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/StartChatContactRequest.java