Image
Image within guardrail content block to be evaluated by the guardrail.
Inherited functions
Casts this GuardrailContentBlock as a Image and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailImageBlock value. Throws an exception 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.
Casts this GuardrailContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailTextBlock value. Throws an exception if the GuardrailContentBlock is not a Text.
Casts this GuardrailContentBlock as a Text and retrieves its aws.sdk.kotlin.services.bedrockruntime.model.GuardrailTextBlock value. Returns null if the GuardrailContentBlock is not a Text.