@Stability(value=Stable) public static final class CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnDataSource.ServiceNowServiceCatalogConfigurationProperty>
| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder documentDataFieldName(String documentDataFieldName)
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.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.ServiceNowServiceCatalogConfigurationProperty.Builder crawlAttachments(Boolean crawlAttachments)
crawlAttachments - Indicates whether Amazon Kendra should crawl attachments to the service catalog items.this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments)
crawlAttachments - Indicates whether Amazon Kendra should crawl attachments to the service catalog items.this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName)
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.getDocumentTitleFieldName()documentTitleFieldName - The name of the ServiceNow field that is mapped to the index document title field.this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder excludeAttachmentFilePatterns(List<String> excludeAttachmentFilePatterns)
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.getExcludeAttachmentFilePatterns()excludeAttachmentFilePatterns - A list of regular expression patterns to exclude certain attachments of catalogs 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 file name of the attachment.
this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
fieldMappings - Maps attributes or field names of catalogs 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.ServiceNowServiceCatalogConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings)
fieldMappings - Maps attributes or field names of catalogs 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.ServiceNowServiceCatalogConfigurationProperty.Builder includeAttachmentFilePatterns(List<String> includeAttachmentFilePatterns)
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.getIncludeAttachmentFilePatterns()includeAttachmentFilePatterns - A list of regular expression patterns to include certain attachments of catalogs 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 file name of the attachment.
this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnDataSource.ServiceNowServiceCatalogConfigurationProperty>CfnDataSource.ServiceNowServiceCatalogConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.