putAttribute

fun putAttribute(key: String, value: String?): Identity.Builder

Updates or adds the value of an entry for the given key in the attribute map. Attributes are shared by both Marketing Cloud Engagement and Mobile App Messaging.

Return

The builder instance.

Parameters

key

The key of the entry to update or add.

value

The value of the entry to set