@Stability(value=Stable)
public static interface CfnDataSource.SalesforceConfigurationProperty
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.*;
SalesforceConfigurationProperty salesforceConfigurationProperty = SalesforceConfigurationProperty.builder()
.secretArn("secretArn")
.serverUrl("serverUrl")
// the properties below are optional
.chatterFeedConfiguration(SalesforceChatterFeedConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.includeFilterTypes(List.of("includeFilterTypes"))
.build())
.crawlAttachments(false)
.excludeAttachmentFilePatterns(List.of("excludeAttachmentFilePatterns"))
.includeAttachmentFilePatterns(List.of("includeAttachmentFilePatterns"))
.knowledgeArticleConfiguration(SalesforceKnowledgeArticleConfigurationProperty.builder()
.includedStates(List.of("includedStates"))
// the properties below are optional
.customKnowledgeArticleTypeConfigurations(List.of(SalesforceCustomKnowledgeArticleTypeConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.name("name")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build()))
.standardKnowledgeArticleTypeConfiguration(SalesforceStandardKnowledgeArticleTypeConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.build())
.standardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfigurationProperty.builder()
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build())
.standardObjectConfigurations(List.of(SalesforceStandardObjectConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.name("name")
// the properties below are optional
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.indexFieldName("indexFieldName")
// the properties below are optional
.dateFieldFormat("dateFieldFormat")
.build()))
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.SalesforceConfigurationProperty.Builder
A builder for
CfnDataSource.SalesforceConfigurationProperty |
static class |
CfnDataSource.SalesforceConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.SalesforceConfigurationProperty.Builder |
builder() |
default Object |
getChatterFeedConfiguration()
`CfnDataSource.SalesforceConfigurationProperty.ChatterFeedConfiguration`.
|
default Object |
getCrawlAttachments()
`CfnDataSource.SalesforceConfigurationProperty.CrawlAttachments`.
|
default List<String> |
getExcludeAttachmentFilePatterns()
`CfnDataSource.SalesforceConfigurationProperty.ExcludeAttachmentFilePatterns`.
|
default List<String> |
getIncludeAttachmentFilePatterns()
`CfnDataSource.SalesforceConfigurationProperty.IncludeAttachmentFilePatterns`.
|
default Object |
getKnowledgeArticleConfiguration()
`CfnDataSource.SalesforceConfigurationProperty.KnowledgeArticleConfiguration`.
|
String |
getSecretArn()
`CfnDataSource.SalesforceConfigurationProperty.SecretArn`.
|
String |
getServerUrl()
`CfnDataSource.SalesforceConfigurationProperty.ServerUrl`.
|
default Object |
getStandardObjectAttachmentConfiguration()
`CfnDataSource.SalesforceConfigurationProperty.StandardObjectAttachmentConfiguration`.
|
default Object |
getStandardObjectConfigurations()
`CfnDataSource.SalesforceConfigurationProperty.StandardObjectConfigurations`.
|
@Stability(value=Stable) @Nullable default Object getChatterFeedConfiguration()
@Stability(value=Stable) @Nullable default Object getCrawlAttachments()
@Stability(value=Stable) @Nullable default List<String> getExcludeAttachmentFilePatterns()
@Stability(value=Stable) @Nullable default List<String> getIncludeAttachmentFilePatterns()
@Stability(value=Stable) @Nullable default Object getKnowledgeArticleConfiguration()
@Stability(value=Stable) @NotNull String getSecretArn()
@Stability(value=Stable) @NotNull String getServerUrl()
@Stability(value=Stable) @Nullable default Object getStandardObjectAttachmentConfiguration()
@Stability(value=Stable) @Nullable default Object getStandardObjectConfigurations()
@Stability(value=Stable) static CfnDataSource.SalesforceConfigurationProperty.Builder builder()
Copyright © 2021. All rights reserved.