SdkUnknown
Inherited functions
Link copied to clipboard
Casts this BedrockSessionContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ImageBlock value. Throws an exception if the BedrockSessionContentBlock is not a Image.
Link copied to clipboard
Casts this BedrockSessionContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ImageBlock value. Returns null if the BedrockSessionContentBlock is not a Image.
Link copied to clipboard
Casts this BedrockSessionContentBlock as a Text and retrieves its kotlin.String value. Throws an exception if the BedrockSessionContentBlock is not a Text.
Link copied to clipboard
Casts this BedrockSessionContentBlock as a Text and retrieves its kotlin.String value. Returns null if the BedrockSessionContentBlock is not a Text.