@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.
Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not 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 - Mapping between ServiceNow fields and Amazon Kendra index fields.
You must create the index field before you map the field.this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings)
fieldMappings - Mapping between ServiceNow fields and Amazon Kendra index fields.
You must create the index field before you map the field.this@Stability(value=Stable) public CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder includeAttachmentFilePatterns(List<String> includeAttachmentFilePatterns)
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.getIncludeAttachmentFilePatterns()includeAttachmentFilePatterns - A list of regular expression patterns.
Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an exclusion pattern and an inclusion pattern, the document is not 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.