asInline

Casts this GroundTruthSource as a Inline and retrieves its aws.sdk.kotlin.services.bedrockagentcore.model.InlineGroundTruth value. Throws an exception if the GroundTruthSource is not a Inline.