@Stability(value=Stable)
public static interface CfnDataSource.SalesforceChatterFeedConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The contents of the object comes from the Salesforce FeedItem table.
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.*;
SalesforceChatterFeedConfigurationProperty salesforceChatterFeedConfigurationProperty = 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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder
A builder for
CfnDataSource.SalesforceChatterFeedConfigurationProperty |
static class |
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceChatterFeedConfigurationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder |
builder() |
String |
getDocumentDataFieldName()
The name of the column in the Salesforce FeedItem table that contains the content to index.
|
default String |
getDocumentTitleFieldName()
The name of the column in the Salesforce FeedItem table that contains the title of the document.
|
default Object |
getFieldMappings()
Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
|
default List<String> |
getIncludeFilterTypes()
Filters the documents in the feed based on status of the user.
|
@Stability(value=Stable) @NotNull String getDocumentDataFieldName()
Typically this is the Body column.
@Stability(value=Stable) @Nullable default String getDocumentTitleFieldName()
This is typically the Title column.
@Stability(value=Stable) @Nullable default Object getFieldMappings()
@Stability(value=Stable) @Nullable default List<String> getIncludeFilterTypes()
When you specify ACTIVE_USERS only documents from users who have an active account are indexed. When you specify STANDARD_USER only documents for Salesforce standard users are documented. You can specify both.
@Stability(value=Stable) static CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.