Interface SalesforceStandardObjectAttachmentConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SalesforceStandardObjectAttachmentConfiguration.Builder,
,SalesforceStandardObjectAttachmentConfiguration> SdkBuilder<SalesforceStandardObjectAttachmentConfiguration.Builder,
,SalesforceStandardObjectAttachmentConfiguration> SdkPojo
- Enclosing class:
SalesforceStandardObjectAttachmentConfiguration
public static interface SalesforceStandardObjectAttachmentConfiguration.Builder
extends SdkPojo, CopyableBuilder<SalesforceStandardObjectAttachmentConfiguration.Builder,SalesforceStandardObjectAttachmentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentTitleFieldName
(String documentTitleFieldName) The name of the field used for the document title.fieldMappings
(Collection<DataSourceToIndexFieldMapping> fieldMappings) One or more objects that map fields in attachments to Amazon Kendra index fields.fieldMappings
(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) One or more objects that map fields in attachments to Amazon Kendra index fields.fieldMappings
(DataSourceToIndexFieldMapping... fieldMappings) One or more objects that map fields in attachments to Amazon Kendra index fields.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 Details
-
documentTitleFieldName
SalesforceStandardObjectAttachmentConfiguration.Builder documentTitleFieldName(String documentTitleFieldName) The name of the field used for the document title.
- Parameters:
documentTitleFieldName
- The name of the field used for the document title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceStandardObjectAttachmentConfiguration.Builder fieldMappings(Collection<DataSourceToIndexFieldMapping> fieldMappings) One or more objects that map fields in attachments to Amazon Kendra index fields.
- Parameters:
fieldMappings
- One or more objects that map fields in attachments to Amazon Kendra index fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceStandardObjectAttachmentConfiguration.Builder fieldMappings(DataSourceToIndexFieldMapping... fieldMappings) One or more objects that map fields in attachments to Amazon Kendra index fields.
- Parameters:
fieldMappings
- One or more objects that map fields in attachments to Amazon Kendra index fields.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fieldMappings
SalesforceStandardObjectAttachmentConfiguration.Builder fieldMappings(Consumer<DataSourceToIndexFieldMapping.Builder>... fieldMappings) One or more objects that map fields in attachments to Amazon Kendra index fields.
This is a convenience method that creates an instance of theDataSourceToIndexFieldMapping.Builder
avoiding the need to create one manually viaDataSourceToIndexFieldMapping.builder()
.When the
Consumer
completes,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:
-