asImageOrNull
Casts this ToolResultContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ImageBlock value. Returns null if the ToolResultContentBlock is not a Image.
Casts this ToolResultContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.ImageBlock value. Returns null if the ToolResultContentBlock is not a Image.