asRationaleOrNull
Casts this OrchestrationTrace as a Rationale and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Rationale value. Returns null if the OrchestrationTrace is not a Rationale.
Casts this OrchestrationTrace as a Rationale and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.Rationale value. Returns null if the OrchestrationTrace is not a Rationale.