Class CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.SalesforceChatterFeedConfigurationProperty>
- Enclosing interface:
- CfnDataSource.SalesforceChatterFeedConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.SalesforceChatterFeedConfigurationProperty>
A builder for
CfnDataSource.SalesforceChatterFeedConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.documentDataFieldName(String documentDataFieldName) documentTitleFieldName(String documentTitleFieldName) fieldMappings(List<? extends Object> fieldMappings) fieldMappings(IResolvable fieldMappings) includeFilterTypes(List<String> includeFilterTypes)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentDataFieldName
@Stability(Stable) public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder documentDataFieldName(String documentDataFieldName) Sets the value ofCfnDataSource.SalesforceChatterFeedConfigurationProperty.getDocumentDataFieldName()- Parameters:
documentDataFieldName- The name of the column in the Salesforce FeedItem table that contains the content to index. This parameter is required. Typically this is theBodycolumn.- Returns:
this
-
documentTitleFieldName
@Stability(Stable) public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName) Sets the value ofCfnDataSource.SalesforceChatterFeedConfigurationProperty.getDocumentTitleFieldName()- Parameters:
documentTitleFieldName- The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically theTitlecolumn.- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings) - Parameters:
fieldMappings- Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings) - Parameters:
fieldMappings- Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.- Returns:
this
-
includeFilterTypes
@Stability(Stable) public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder includeFilterTypes(List<String> includeFilterTypes) - Parameters:
includeFilterTypes- Filters the documents in the feed based on status of the user. When you specifyACTIVE_USERSonly documents from users who have an active account are indexed. When you specifySTANDARD_USERonly documents for Salesforce standard users are documented. You can specify both.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.SalesforceChatterFeedConfigurationProperty>- Returns:
- a new instance of
CfnDataSource.SalesforceChatterFeedConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-