public NewSessionDetails withAttributes(java.util.Map<String, String> attributes) {
        setAttributes(attributes);
        return this;
    }
<p>
A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes. They can
be accessed in flows just like any other contact attributes.
</p>
<p>
There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include only
alphanumeric, dash, and underscore characters.
</p>

@param attributes
       A custom key-value pair using an attribute map. The attributes are standard Amazon Connect attributes.
       They can be accessed in flows just like any other contact attributes. </p>
       <p>
       There can be up to 32,768 UTF-8 bytes across all key-value pairs per contact. Attribute keys can include
       only alphanumeric, dash, and underscore characters.
@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/NewSessionDetails.java