public static interface SalesforceCustomKnowledgeArticleTypeConfiguration.Builder extends SdkPojo, CopyableBuilder<SalesforceCustomKnowledgeArticleTypeConfiguration.Builder,SalesforceCustomKnowledgeArticleTypeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
documentDataFieldName(String documentDataFieldName)
The name of the field in the custom knowledge article that contains the document data to index.
|
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
documentTitleFieldName(String documentTitleFieldName)
The name of the field in the custom knowledge article that contains the document title.
|
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings)
Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names.
|
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings)
Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names.
|
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
fieldMappings(DataSourceToIndexFieldMapping... fieldMappings)
Maps attributes or field names of the custom knowledge article to Amazon Kendra index field names.
|
SalesforceCustomKnowledgeArticleTypeConfiguration.Builder |
name(String name)
The name of the configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSalesforceCustomKnowledgeArticleTypeConfiguration.Builder name(String name)
The name of the configuration.
name - The name of the configuration.SalesforceCustomKnowledgeArticleTypeConfiguration.Builder documentDataFieldName(String documentDataFieldName)
The name of the field in the custom knowledge article that contains the document data to index.
documentDataFieldName - The name of the field in the custom knowledge article that contains the document data to index.SalesforceCustomKnowledgeArticleTypeConfiguration.Builder documentTitleFieldName(String documentTitleFieldName)
The name of the field in the custom knowledge article that contains the document title.
documentTitleFieldName - The name of the field in the custom knowledge article that contains the document title.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.
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.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.
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.SalesforceCustomKnowledgeArticleTypeConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... 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.
DataSourceToIndexFieldMapping.Builder avoiding the need
to create one manually via
DataSourceToIndexFieldMapping.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #fieldMappings(List.
fieldMappings - a consumer that will call methods on
DataSourceToIndexFieldMapping.Builder#fieldMappings(java.util.Collection) Copyright © 2023. All rights reserved.