put

abstract fun <T : Any> put(key: AttributeKey<T>, value: T)

Creates or changes an attribute with the specified key using value