Interface SalesforceCustomKnowledgeArticleTypeConfiguration.Builder

    • Method Detail

      • documentDataFieldName

        SalesforceCustomKnowledgeArticleTypeConfiguration.Builder documentDataFieldName​(String documentDataFieldName)

        The name of the field in the custom knowledge article that contains the document data to index.

        Parameters:
        documentDataFieldName - The name of the field in the custom knowledge article that contains the document data to index.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • documentTitleFieldName

        SalesforceCustomKnowledgeArticleTypeConfiguration.Builder documentTitleFieldName​(String documentTitleFieldName)

        The name of the field in the custom knowledge article that contains the document title.

        Parameters:
        documentTitleFieldName - The name of the field in the custom knowledge article that contains the document title.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldMappings

        SalesforceCustomKnowledgeArticleTypeConfiguration.Builder fieldMappings​(Collection<DataSourceToIndexFieldMapping> fieldMappings)

        Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.

        Parameters:
        fieldMappings - Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fieldMappings

        SalesforceCustomKnowledgeArticleTypeConfiguration.Builder fieldMappings​(DataSourceToIndexFieldMapping... fieldMappings)

        Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.

        Parameters:
        fieldMappings - Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names. To create custom fields, use the UpdateIndex API before you map to Salesforce fields. For more information, see Mapping data source fields. The Salesforce data source field names must exist in your Salesforce custom metadata.
        Returns:
        Returns a reference to this object so that method calls can be chained together.