@Stability(value=Stable)
public static interface CfnDataSource.ServiceNowConfigurationProperty
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.*;
ServiceNowConfigurationProperty serviceNowConfigurationProperty = ServiceNowConfigurationProperty.builder()
.hostUrl("hostUrl")
.secretArn("secretArn")
.serviceNowBuildVersion("serviceNowBuildVersion")
// the properties below are optional
.authenticationType("authenticationType")
.knowledgeArticleConfiguration(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())
.serviceCatalogConfiguration(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())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.ServiceNowConfigurationProperty.Builder
A builder for
CfnDataSource.ServiceNowConfigurationProperty |
static class |
CfnDataSource.ServiceNowConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.ServiceNowConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.ServiceNowConfigurationProperty.Builder |
builder() |
default String |
getAuthenticationType()
`CfnDataSource.ServiceNowConfigurationProperty.AuthenticationType`.
|
String |
getHostUrl()
`CfnDataSource.ServiceNowConfigurationProperty.HostUrl`.
|
default Object |
getKnowledgeArticleConfiguration()
`CfnDataSource.ServiceNowConfigurationProperty.KnowledgeArticleConfiguration`.
|
String |
getSecretArn()
`CfnDataSource.ServiceNowConfigurationProperty.SecretArn`.
|
default Object |
getServiceCatalogConfiguration()
`CfnDataSource.ServiceNowConfigurationProperty.ServiceCatalogConfiguration`.
|
String |
getServiceNowBuildVersion()
`CfnDataSource.ServiceNowConfigurationProperty.ServiceNowBuildVersion`.
|
@Stability(value=Stable) @Nullable default String getAuthenticationType()
@Stability(value=Stable) @NotNull String getHostUrl()
@Stability(value=Stable) @Nullable default Object getKnowledgeArticleConfiguration()
@Stability(value=Stable) @NotNull String getSecretArn()
@Stability(value=Stable) @Nullable default Object getServiceCatalogConfiguration()
@Stability(value=Stable) @NotNull String getServiceNowBuildVersion()
@Stability(value=Stable) static CfnDataSource.ServiceNowConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.