asText

Casts this FieldAttributes as a Text and retrieves its aws.sdk.kotlin.services.connectcases.model.TextAttributes value. Throws an exception if the FieldAttributes is not a Text.