Interface SalesforceStandardObjectConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SalesforceStandardObjectConfiguration.Builder,,SalesforceStandardObjectConfiguration> SdkBuilder<SalesforceStandardObjectConfiguration.Builder,,SalesforceStandardObjectConfiguration> SdkPojo
- Enclosing class:
SalesforceStandardObjectConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondocumentDataFieldName(String documentDataFieldName) The name of the field in the standard object table that contains the document contents.documentTitleFieldName(String documentTitleFieldName) The name of the field in the standard object table that contains the document title.fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings) Maps attributes or field names of the standard object to Amazon Kendra index field names.fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) Maps attributes or field names of the standard object to Amazon Kendra index field names.fieldMappings(DataSourceToIndexFieldMapping... fieldMappings) Maps attributes or field names of the standard object to Amazon Kendra index field names.The name of the standard object.The name of the standard object.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
-
name
The name of the standard object.
- Parameters:
name- The name of the standard object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the standard object.
- Parameters:
name- The name of the standard object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
documentDataFieldName
The name of the field in the standard object table that contains the document contents.
- Parameters:
documentDataFieldName- The name of the field in the standard object table that contains the document contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
documentTitleFieldName
The name of the field in the standard object table that contains the document title.
- Parameters:
documentTitleFieldName- The name of the field in the standard object table that contains the document title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceStandardObjectConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings) Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom fields, use the
UpdateIndexAPI 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 standard object to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
SalesforceStandardObjectConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... fieldMappings) Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom fields, use the
UpdateIndexAPI 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 standard object to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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
SalesforceStandardObjectConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom fields, use the
This is a convenience method that creates an instance of theUpdateIndexAPI 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.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:
-