setName

abstract suspend fun setName(newName: String): Region

Sets a new name for the region.

Return

the updated Region instance

Parameters

newName

the new name to set (1..50 characters)

Throws

if newName length is out of acceptable range