asRetrieveConfigOrNull
Casts this KnowledgeBaseConfig as a RetrieveConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.RetrieveConfig value. Returns null if the KnowledgeBaseConfig is not a RetrieveConfig.
Casts this KnowledgeBaseConfig as a RetrieveConfig and retrieves its aws.sdk.kotlin.services.bedrock.model.RetrieveConfig value. Returns null if the KnowledgeBaseConfig is not a RetrieveConfig.