public StartChatContactRequest withSegmentAttributes(java.util.Map<String, SegmentAttributeValue> segmentAttributes) {
        setSegmentAttributes(segmentAttributes);
        return this;
    }
<p>
A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
attributes are standard Amazon Connect attributes. They can be accessed in flows.
</p>
<p>
Attribute keys can include only alphanumeric, -, and _.
</p>
<p>
This field can be used to show channel subtype, such as <code>connect:Guide</code>.
</p>
<note>
<p>
The types <code>application/vnd.amazonaws.connect.message.interactive</code> and
<code>application/vnd.amazonaws.connect.message.interactive.response</code> must be present in the
SupportedMessagingContentTypes field of this API in order to set <code>SegmentAttributes</code> as {
<code> "connect:Subtype": {"valueString" : "connect:Guide" }}</code>.
</p>
</note>

@param segmentAttributes
       A set of system defined key-value pairs stored on individual contact segments using an attribute map. The
       attributes are standard Amazon Connect attributes. They can be accessed in flows.</p>
       <p>
       Attribute keys can include only alphanumeric, -, and _.
       </p>
       <p>
       This field can be used to show channel subtype, such as <code>connect:Guide</code>.
       </p>
       <note>
       <p>
       The types <code>application/vnd.amazonaws.connect.message.interactive</code> and
       <code>application/vnd.amazonaws.connect.message.interactive.response</code> must be present in the
       SupportedMessagingContentTypes field of this API in order to set <code>SegmentAttributes</code> as {
       <code> "connect:Subtype": {"valueString" : "connect:Guide" }}</code>.
       </p>
@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