@Stability(value=Stable) public static final class CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty>
| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder documentDataFieldName(String documentDataFieldName)
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.getDocumentDataFieldName()documentDataFieldName - The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index. This parameter is required.this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder crawlAttachments(Boolean crawlAttachments)
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.getCrawlAttachments()crawlAttachments - Indicates whether Amazon Kendra should index attachments to knowledge articles.this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments)
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.getCrawlAttachments()crawlAttachments - Indicates whether Amazon Kendra should index attachments to knowledge articles.this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName)
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.getDocumentTitleFieldName()documentTitleFieldName - The name of the ServiceNow field that is mapped to the index document title field.this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder excludeAttachmentFilePatterns(List<String> excludeAttachmentFilePatterns)
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.getExcludeAttachmentFilePatterns()excludeAttachmentFilePatterns - A list of regular expression patterns to exclude certain attachments of knowledge articles in your ServiceNow.
Item that match the patterns are excluded from the index. Items that don't match the patterns are included in the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the field specified in the PatternTargetField .
this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
fieldMappings - Maps attributes or field names of knoweldge articles to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex API before you map to ServiceNow fields. For more information, see Mapping data source fields . The ServiceNow data source field names must exist in your ServiceNow custom metadata.this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings)
fieldMappings - Maps attributes or field names of knoweldge articles to Amazon Kendra index field names.
To create custom fields, use the UpdateIndex API before you map to ServiceNow fields. For more information, see Mapping data source fields . The ServiceNow data source field names must exist in your ServiceNow custom metadata.this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder filterQuery(String filterQuery)
filterQuery - A query that selects the knowledge articles to index.
The query can return articles from multiple knowledge bases, and the knowledge bases can be public or private.
The query string must be one generated by the ServiceNow console. For more information, see Specifying documents to index with a query .
this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder includeAttachmentFilePatterns(List<String> includeAttachmentFilePatterns)
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.getIncludeAttachmentFilePatterns()includeAttachmentFilePatterns - A list of regular expression patterns to include certain attachments of knowledge articles in your ServiceNow.
Item that match the patterns are included in the index. Items that don't match the patterns are excluded from the index. If an item matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the item isn't included in the index.
The regex is applied to the field specified in the PatternTargetField .
this@Stability(value=Stable) public CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty>CfnDataSource.ServiceNowKnowledgeArticleConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.