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