put

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

Creates or changes an attribute with the specified key using value