asKnowledgeBaseOrNull
Casts this RetrieverConfiguration as a KnowledgeBase and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.KnowledgeBaseRetrieverConfiguration value. Returns null if the RetrieverConfiguration is not a KnowledgeBase.