asText
Casts this GuardrailConverseContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseTextBlock value. Throws an exception if the GuardrailConverseContentBlock is not a Text.
Casts this GuardrailConverseContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailConverseTextBlock value. Throws an exception if the GuardrailConverseContentBlock is not a Text.