toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'collectionName': collectionName,
'credentialsSecretArn': credentialsSecretArn,
'databaseName': databaseName,
'endpoint': endpoint,
'endpointServiceName': ?endpointServiceName,
'fieldMapping': pulumi.Input.mapInputValue<AgentKnowledgeBaseStorageConfigurationMongoDbAtlasConfigurationFieldMapping, Map<String, dynamic>>(fieldMapping, (value) => value.toMap()),
'textIndexName': ?textIndexName,
'vectorIndexName': vectorIndexName,
};
}