asInline

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