public static interface ServiceNowKnowledgeArticleConfiguration.Builder extends SdkPojo, CopyableBuilder<ServiceNowKnowledgeArticleConfiguration.Builder,ServiceNowKnowledgeArticleConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ServiceNowKnowledgeArticleConfiguration.Builder |
crawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should index attachments to knowledge articles.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
documentDataFieldName(String documentDataFieldName)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra
index.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
documentTitleFieldName(String documentTitleFieldName)
The name of the ServiceNow field that is mapped to the index document title field.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
excludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
excludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
includeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles.
|
ServiceNowKnowledgeArticleConfiguration.Builder |
includeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildServiceNowKnowledgeArticleConfiguration.Builder crawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should index attachments to knowledge articles.
crawlAttachments - Indicates whether Amazon Kendra should index attachments to knowledge articles.ServiceNowKnowledgeArticleConfiguration.Builder includeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are
not indexed. The regex is applied to the field specified in the PatternTargetField.
includeAttachmentFilePatterns - List of regular expressions applied to knowledge articles. Items that don't match the inclusion
pattern are not indexed. The regex is applied to the field specified in the
PatternTargetField.ServiceNowKnowledgeArticleConfiguration.Builder includeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are
not indexed. The regex is applied to the field specified in the PatternTargetField.
includeAttachmentFilePatterns - List of regular expressions applied to knowledge articles. Items that don't match the inclusion
pattern are not indexed. The regex is applied to the field specified in the
PatternTargetField.ServiceNowKnowledgeArticleConfiguration.Builder excludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are
not indexed. The regex is applied to the field specified in the PatternTargetField
excludeAttachmentFilePatterns - List of regular expressions applied to knowledge articles. Items that don't match the inclusion
pattern are not indexed. The regex is applied to the field specified in the
PatternTargetFieldServiceNowKnowledgeArticleConfiguration.Builder excludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
List of regular expressions applied to knowledge articles. Items that don't match the inclusion pattern are
not indexed. The regex is applied to the field specified in the PatternTargetField
excludeAttachmentFilePatterns - List of regular expressions applied to knowledge articles. Items that don't match the inclusion
pattern are not indexed. The regex is applied to the field specified in the
PatternTargetFieldServiceNowKnowledgeArticleConfiguration.Builder documentDataFieldName(String documentDataFieldName)
The name of the ServiceNow field that is mapped to the index document contents field in the Amazon Kendra index.
documentDataFieldName - The name of the ServiceNow field that is mapped to the index document contents field in the Amazon
Kendra index.ServiceNowKnowledgeArticleConfiguration.Builder documentTitleFieldName(String documentTitleFieldName)
The name of the ServiceNow field that is mapped to the index document title field.
documentTitleFieldName - The name of the ServiceNow field that is mapped to the index document title field.ServiceNowKnowledgeArticleConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
fieldMappings - Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field
before you map the field.ServiceNowKnowledgeArticleConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
fieldMappings - Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field
before you map the field.ServiceNowKnowledgeArticleConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Mapping between ServiceNow fields and Amazon Kendra index fields. You must create the index field before you map the field.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #fieldMappings(List) .fieldMappings - a consumer that will call methods on List.Builder #fieldMappings(List) Copyright © 2020. All rights reserved.