public static final class CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.SalesforceChatterFeedConfigurationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataSource.SalesforceChatterFeedConfigurationProperty |
build()
Builds the configured instance.
|
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder |
documentDataFieldName(java.lang.String documentDataFieldName)
|
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder |
documentTitleFieldName(java.lang.String documentTitleFieldName)
|
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder |
fieldMappings(IResolvable fieldMappings)
|
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder |
fieldMappings(java.util.List<? extends java.lang.Object> fieldMappings)
|
CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder |
includeFilterTypes(java.util.List<java.lang.String> includeFilterTypes)
|
public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder documentDataFieldName(java.lang.String documentDataFieldName)
CfnDataSource.SalesforceChatterFeedConfigurationProperty.getDocumentDataFieldName()
documentDataFieldName
- The name of the column in the Salesforce FeedItem table that contains the content to index. This parameter is required.
Typically this is the Body
column.this
public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder documentTitleFieldName(java.lang.String documentTitleFieldName)
CfnDataSource.SalesforceChatterFeedConfigurationProperty.getDocumentTitleFieldName()
documentTitleFieldName
- The name of the column in the Salesforce FeedItem table that contains the title of the document.
This is typically the Title
column.this
public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings)
fieldMappings
- Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.this
public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder fieldMappings(java.util.List<? extends java.lang.Object> fieldMappings)
fieldMappings
- Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.this
public CfnDataSource.SalesforceChatterFeedConfigurationProperty.Builder includeFilterTypes(java.util.List<java.lang.String> includeFilterTypes)
includeFilterTypes
- Filters the documents in the feed based on status of the user.
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.this
public CfnDataSource.SalesforceChatterFeedConfigurationProperty build()
CfnDataSource.SalesforceChatterFeedConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided