@Stability(value=Stable)
public static interface CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
ServiceNowKnowledgeArticleConfigurationProperty serviceNowKnowledgeArticleConfigurationProperty = ServiceNowKnowledgeArticleConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.crawlAttachments(false)
.documentTitleFieldName("documentTitleFieldName")
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.filterQuery("filterQuery")
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder
|
static class |
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder |
builder() |
default Object |
getCrawlAttachments()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.CrawlAttachments`.
|
String |
getDocumentDataFieldName()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.DocumentDataFieldName`.
|
default String |
getDocumentTitleFieldName()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.DocumentTitleFieldName`.
|
default List<String> |
getExcludeAttachmentFilePatterns()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.ExcludeAttachmentFilePatterns`.
|
default Object |
getFieldMappings()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.FieldMappings`.
|
default String |
getFilterQuery()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.FilterQuery`.
|
default List<String> |
getIncludeAttachmentFilePatterns()
`CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.IncludeAttachmentFilePatterns`.
|
@Stability(value=Stable) @Nullable default Object getCrawlAttachments()
@Stability(value=Stable) @NotNull String getDocumentDataFieldName()
@Stability(value=Stable) @Nullable default String getDocumentTitleFieldName()
@Stability(value=Stable) @Nullable default List<String> getExcludeAttachmentFilePatterns()
@Stability(value=Stable) @Nullable default Object getFieldMappings()
@Stability(value=Stable) @Nullable default String getFilterQuery()
@Stability(value=Stable) @Nullable default List<String> getIncludeAttachmentFilePatterns()
@Stability(value=Stable) static CfnDataSource.ServiceNowKnowledgeArticleConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.