Interface SalesforceChatterFeedConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SalesforceChatterFeedConfiguration.Builder,SalesforceChatterFeedConfiguration>,SdkBuilder<SalesforceChatterFeedConfiguration.Builder,SalesforceChatterFeedConfiguration>,SdkPojo
- Enclosing class:
- SalesforceChatterFeedConfiguration
public static interface SalesforceChatterFeedConfiguration.Builder extends SdkPojo, CopyableBuilder<SalesforceChatterFeedConfiguration.Builder,SalesforceChatterFeedConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SalesforceChatterFeedConfiguration.BuilderdocumentDataFieldName(String documentDataFieldName)The name of the column in the Salesforce FeedItem table that contains the content to index.SalesforceChatterFeedConfiguration.BuilderdocumentTitleFieldName(String documentTitleFieldName)The name of the column in the Salesforce FeedItem table that contains the title of the document.SalesforceChatterFeedConfiguration.BuilderfieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.SalesforceChatterFeedConfiguration.BuilderfieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.SalesforceChatterFeedConfiguration.BuilderfieldMappings(DataSourceToIndexFieldMapping... fieldMappings)Maps fields from a Salesforce chatter feed into Amazon Kendra index fields.SalesforceChatterFeedConfiguration.BuilderincludeFilterTypes(Collection<SalesforceChatterFeedIncludeFilterType> includeFilterTypes)Filters the documents in the feed based on status of the user.SalesforceChatterFeedConfiguration.BuilderincludeFilterTypes(SalesforceChatterFeedIncludeFilterType... includeFilterTypes)Filters the documents in the feed based on status of the user.SalesforceChatterFeedConfiguration.BuilderincludeFilterTypesWithStrings(String... includeFilterTypes)Filters the documents in the feed based on status of the user.SalesforceChatterFeedConfiguration.BuilderincludeFilterTypesWithStrings(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
documentDataFieldName
SalesforceChatterFeedConfiguration.Builder documentDataFieldName(String 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
SalesforceChatterFeedConfiguration.Builder documentTitleFieldName(String 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 to#fieldMappings(List.) - 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:
#fieldMappings(java.util.Collection)
-
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.
-
-