public static interface CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both
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.*; SalesforceKnowledgeArticleConfigurationProperty salesforceKnowledgeArticleConfigurationProperty = SalesforceKnowledgeArticleConfigurationProperty.builder() .includedStates(List.of("includedStates")) // the properties below are optional .customKnowledgeArticleTypeConfigurations(List.of(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())) .standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfigurationProperty.builder() .documentDataFieldName("documentDataFieldName") // 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()) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Builder
|
static class |
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Builder |
builder() |
default java.lang.Object |
getCustomKnowledgeArticleTypeConfigurations()
Configuration information for custom Salesforce knowledge articles.
|
java.util.List<java.lang.String> |
getIncludedStates()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
default java.lang.Object |
getStandardKnowledgeArticleTypeConfiguration()
Configuration information for standard Salesforce knowledge articles.
|
java.util.List<java.lang.String> getIncludedStates()
You must specify at least one state.
default java.lang.Object getCustomKnowledgeArticleTypeConfigurations()
default java.lang.Object getStandardKnowledgeArticleTypeConfiguration()