public void setUserAttributes(java.util.Map<String, java.util.List<String>> userAttributes) {
        this.userAttributes = userAttributes;
    }
public void setUserAttributes ( java . util . Map < String , java . util . List < String > > userAttributes ) { this . userAttributes = userAttributes ; }
Custom attributes that describe the user by associating a name with an array of values. For example, an attribute
named "interests" might have the following values: ["science", "politics", "travel"]. You can use these
attributes as selection criteria when you create segments.

The Amazon Pinpoint console can't display attribute names that include the following characters: hash/pound sign
(#), colon (:), question mark (?), backslash (\), and forward slash (/). For this reason, you should avoid using
these characters in the names of custom attributes.

@param userAttributes
Custom attributes that describe the user by associating a name with an array of values. For example, an
attribute named "interests" might have the following values: ["science", "politics", "travel"]. You can
use these attributes as selection criteria when you create segments.

The Amazon Pinpoint console can't display attribute names that include the following characters:
hash/pound sign (#), colon (:), question mark (?), backslash (\), and forward slash (/). For this reason,
you should avoid using these characters in the names of custom attributes.