@Stability(value=Stable)
public static interface CfnDataSource.ServiceNowServiceCatalogConfigurationProperty
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.*;
ServiceNowServiceCatalogConfigurationProperty serviceNowServiceCatalogConfigurationProperty = ServiceNowServiceCatalogConfigurationProperty.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()))
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder
|
static class |
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ServiceNowServiceCatalogConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder |
builder() |
default Object |
getCrawlAttachments()
`CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.CrawlAttachments`.
|
String |
getDocumentDataFieldName()
`CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.DocumentDataFieldName`.
|
default String |
getDocumentTitleFieldName()
`CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.DocumentTitleFieldName`.
|
default List<String> |
getExcludeAttachmentFilePatterns()
`CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.ExcludeAttachmentFilePatterns`.
|
default Object |
getFieldMappings()
`CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.FieldMappings`.
|
default List<String> |
getIncludeAttachmentFilePatterns()
`CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.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 List<String> getIncludeAttachmentFilePatterns()
@Stability(value=Stable) static CfnDataSource.ServiceNowServiceCatalogConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.