@Stability(value=Stable)
public static interface CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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.*;
SalesforceCustomKnowledgeArticleTypeConfigurationProperty salesforceCustomKnowledgeArticleTypeConfigurationProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Builder
|
static class |
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Builder |
builder() |
String |
getDocumentDataFieldName()
The name of the field in the custom knowledge article that contains the document data to index.
|
default String |
getDocumentTitleFieldName()
The name of the field in the custom knowledge article that contains the document title.
|
default Object |
getFieldMappings()
Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names.
|
String |
getName()
The name of the configuration.
|
@Stability(value=Stable) @NotNull String getDocumentDataFieldName()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getDocumentTitleFieldName()
@Stability(value=Stable) @Nullable default Object getFieldMappings()
To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields . The Salesforce data source field names must exist in your Salesforce custom metadata.
@Stability(value=Stable) static CfnDataSource.SalesforceCustomKnowledgeArticleTypeConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.