Interface SalesforceChatterFeedConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SalesforceChatterFeedConfiguration.Builder,,SalesforceChatterFeedConfiguration> SdkBuilder<SalesforceChatterFeedConfiguration.Builder,,SalesforceChatterFeedConfiguration> SdkPojo
- Enclosing class:
SalesforceChatterFeedConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondocumentDataFieldName(String documentDataFieldName) The name of the column in the Salesforce FeedItem table that contains the content to index.documentTitleFieldName(String documentTitleFieldName) The name of the column in the Salesforce FeedItem table that contains the title of the document.fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings) Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.fieldMappings(DataSourceToIndexFieldMapping... fieldMappings) Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.includeFilterTypes(Collection<SalesforceChatterFeedIncludeFilterType> includeFilterTypes) Filters the documents in the feed based on status of the user.includeFilterTypes(SalesforceChatterFeedIncludeFilterType... includeFilterTypes) Filters the documents in the feed based on status of the user.includeFilterTypesWithStrings(String... includeFilterTypes) Filters the documents in the feed based on status of the user.includeFilterTypesWithStrings(Collection<String> includeFilterTypes) Filters the documents in the feed based on status of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
documentDataFieldName
The name of the column in the Salesforce FeedItem table that contains the content to index. Typically this is the
Bodycolumn.- Parameters:
documentDataFieldName- The name of the column in the Salesforce FeedItem table that contains the content to index. Typically this is theBodycolumn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentTitleFieldName
The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically the
Titlecolumn.- Parameters:
documentTitleFieldName- The name of the column in the Salesforce FeedItem table that contains the title of the document. This is typically theTitlecolumn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceChatterFeedConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings) Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
- Parameters:
fieldMappings- Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceChatterFeedConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... fieldMappings) Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
- Parameters:
fieldMappings- Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceChatterFeedConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping.Builderavoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofieldMappings(List<DataSourceToIndexFieldMapping>).- Parameters:
fieldMappings- a consumer that will call methods onDataSourceToIndexFieldMapping.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
includeFilterTypesWithStrings
SalesforceChatterFeedConfiguration.Builder includeFilterTypesWithStrings(Collection<String> includeFilterTypes) Filters the documents in the feed based on status of the user. When you specify
ACTIVE_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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilterTypesWithStrings
SalesforceChatterFeedConfiguration.Builder includeFilterTypesWithStrings(String... includeFilterTypes) Filters the documents in the feed based on status of the user. When you specify
ACTIVE_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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilterTypes
SalesforceChatterFeedConfiguration.Builder includeFilterTypes(Collection<SalesforceChatterFeedIncludeFilterType> includeFilterTypes) Filters the documents in the feed based on status of the user. When you specify
ACTIVE_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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-
includeFilterTypes
SalesforceChatterFeedConfiguration.Builder includeFilterTypes(SalesforceChatterFeedIncludeFilterType... includeFilterTypes) Filters the documents in the feed based on status of the user. When you specify
ACTIVE_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.- 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:
- Returns a reference to this object so that method calls can be chained together.
-