@Stability(value=Stable)
public static interface CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both
Example:
// 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.*;
SalesforceKnowledgeArticleConfigurationProperty salesforceKnowledgeArticleConfigurationProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Builder
|
static class |
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Builder |
builder() |
default Object |
getCustomKnowledgeArticleTypeConfigurations()
Configuration information for custom Salesforce knowledge articles.
|
List<String> |
getIncludedStates()
Specifies the document states that should be included when Amazon Kendra indexes knowledge articles.
|
default Object |
getStandardKnowledgeArticleTypeConfiguration()
Configuration information for standard Salesforce knowledge articles.
|
@Stability(value=Stable) @NotNull List<String> getIncludedStates()
You must specify at least one state.
@Stability(value=Stable) @Nullable default Object getCustomKnowledgeArticleTypeConfigurations()
@Stability(value=Stable) @Nullable default Object getStandardKnowledgeArticleTypeConfiguration()
@Stability(value=Stable) static CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.