set

open operator fun set(key: String, value: String)

Puts the given key/value pair as a tag on this tag container.

See also

Parameters

key

Key of the tag to put.

value

Value of the tag to put.

Throws

If either the key or value violate the rules outlined in the Tag documentation.

If this Object does not exist.

If the parent bucket of this Object does not exist.

If an implementation specific exception is thrown. The implementation specific exception will be set to the thrown exception's 'cause' value.