public static interface CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; SalesforceCustomKnowledgeArticleTypeConfigurationProperty salesforceCustomKnowledgeArticleTypeConfigurationProperty = SalesforceCustomKnowledgeArticleTypeConfigurationProperty.builder() .documentDataFieldName("documentDataFieldName") .name("name") // the properties below are optional .documentTitleFieldName("documentTitleFieldName") .fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder() .dataSourceFieldName("dataSourceFieldName") .indexFieldName("indexFieldName") // the properties below are optional .dateFieldFormat("dateFieldFormat") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Builder
|
static class |
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Builder |
builder() |
java.lang.String |
getDocumentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
|
default java.lang.String |
getDocumentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
|
default java.lang.Object |
getFieldMappings()
Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names.
|
java.lang.String |
getName()
The name of the configuration.
|
java.lang.String getDocumentDataFieldName()
java.lang.String getName()
default java.lang.String getDocumentTitleFieldName()
default java.lang.Object getFieldMappings()
To create custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields . The Salesforce data source field names must exist in your Salesforce custom metadata.