public static interface SalesforceConfiguration.Builder extends SdkPojo, CopyableBuilder<SalesforceConfiguration.Builder,SalesforceConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default SalesforceConfiguration.Builder |
chatterFeedConfiguration(Consumer<SalesforceChatterFeedConfiguration.Builder> chatterFeedConfiguration)
Configuration information for Salesforce chatter feeds.
|
SalesforceConfiguration.Builder |
chatterFeedConfiguration(SalesforceChatterFeedConfiguration chatterFeedConfiguration)
Configuration information for Salesforce chatter feeds.
|
SalesforceConfiguration.Builder |
crawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
|
SalesforceConfiguration.Builder |
excludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
A list of regular expression patterns to exclude certain documents in your Salesforce.
|
SalesforceConfiguration.Builder |
excludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
A list of regular expression patterns to exclude certain documents in your Salesforce.
|
SalesforceConfiguration.Builder |
includeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
A list of regular expression patterns to include certain documents in your Salesforce.
|
SalesforceConfiguration.Builder |
includeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
A list of regular expression patterns to include certain documents in your Salesforce.
|
default SalesforceConfiguration.Builder |
knowledgeArticleConfiguration(Consumer<SalesforceKnowledgeArticleConfiguration.Builder> knowledgeArticleConfiguration)
Configuration information for the knowledge article types that Amazon Kendra indexes.
|
SalesforceConfiguration.Builder |
knowledgeArticleConfiguration(SalesforceKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Configuration information for the knowledge article types that Amazon Kendra indexes.
|
SalesforceConfiguration.Builder |
secretArn(String secretArn)
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to
connect to your Salesforce instance.
|
SalesforceConfiguration.Builder |
serverUrl(String serverUrl)
The instance URL for the Salesforce site that you want to index.
|
default SalesforceConfiguration.Builder |
standardObjectAttachmentConfiguration(Consumer<SalesforceStandardObjectAttachmentConfiguration.Builder> standardObjectAttachmentConfiguration)
Configuration information for processing attachments to Salesforce standard objects.
|
SalesforceConfiguration.Builder |
standardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfiguration standardObjectAttachmentConfiguration)
Configuration information for processing attachments to Salesforce standard objects.
|
SalesforceConfiguration.Builder |
standardObjectConfigurations(Collection<SalesforceStandardObjectConfiguration> standardObjectConfigurations)
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
|
SalesforceConfiguration.Builder |
standardObjectConfigurations(Consumer<SalesforceStandardObjectConfiguration.Builder>... standardObjectConfigurations)
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
|
SalesforceConfiguration.Builder |
standardObjectConfigurations(SalesforceStandardObjectConfiguration... standardObjectConfigurations)
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSalesforceConfiguration.Builder serverUrl(String serverUrl)
The instance URL for the Salesforce site that you want to index.
serverUrl - The instance URL for the Salesforce site that you want to index.SalesforceConfiguration.Builder secretArn(String secretArn)
The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required to connect to your Salesforce instance. The secret must contain a JSON structure with the following keys:
authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token.
consumerKey - The application public key generated when you created your Salesforce application.
consumerSecret - The application private key generated when you created your Salesforce application.
password - The password associated with the user logging in to the Salesforce instance.
securityToken - The token associated with the user logging in to the Salesforce instance.
username - The user name of the user logging in to the Salesforce instance.
secretArn - The Amazon Resource Name (ARN) of an Secrets Managersecret that contains the key/value pairs required
to connect to your Salesforce instance. The secret must contain a JSON structure with the following
keys:
authenticationUrl - The OAUTH endpoint that Amazon Kendra connects to get an OAUTH token.
consumerKey - The application public key generated when you created your Salesforce application.
consumerSecret - The application private key generated when you created your Salesforce application.
password - The password associated with the user logging in to the Salesforce instance.
securityToken - The token associated with the user logging in to the Salesforce instance.
username - The user name of the user logging in to the Salesforce instance.
SalesforceConfiguration.Builder standardObjectConfigurations(Collection<SalesforceStandardObjectConfiguration> standardObjectConfigurations)
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
standardObjectConfigurations - Configuration of the Salesforce standard objects that Amazon Kendra indexes.SalesforceConfiguration.Builder standardObjectConfigurations(SalesforceStandardObjectConfiguration... standardObjectConfigurations)
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
standardObjectConfigurations - Configuration of the Salesforce standard objects that Amazon Kendra indexes.SalesforceConfiguration.Builder standardObjectConfigurations(Consumer<SalesforceStandardObjectConfiguration.Builder>... standardObjectConfigurations)
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
This is a convenience method that creates an instance of theSalesforceStandardObjectConfiguration.Builder avoiding
the need to create one manually via
SalesforceStandardObjectConfiguration.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #standardObjectConfigurations(List.
standardObjectConfigurations - a consumer that will call methods on
SalesforceStandardObjectConfiguration.Builder#standardObjectConfigurations(java.util.Collection) SalesforceConfiguration.Builder knowledgeArticleConfiguration(SalesforceKnowledgeArticleConfiguration knowledgeArticleConfiguration)
Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.
knowledgeArticleConfiguration - Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra
indexes standard knowledge articles and the standard fields of knowledge articles, or the custom
fields of custom knowledge articles, but not both.default SalesforceConfiguration.Builder knowledgeArticleConfiguration(Consumer<SalesforceKnowledgeArticleConfiguration.Builder> knowledgeArticleConfiguration)
Configuration information for the knowledge article types that Amazon Kendra indexes. Amazon Kendra indexes standard knowledge articles and the standard fields of knowledge articles, or the custom fields of custom knowledge articles, but not both.
This is a convenience method that creates an instance of theSalesforceKnowledgeArticleConfiguration.Builder avoiding the need to create one manually via
SalesforceKnowledgeArticleConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to
knowledgeArticleConfiguration(SalesforceKnowledgeArticleConfiguration).
knowledgeArticleConfiguration - a consumer that will call methods on SalesforceKnowledgeArticleConfiguration.BuilderknowledgeArticleConfiguration(SalesforceKnowledgeArticleConfiguration)SalesforceConfiguration.Builder chatterFeedConfiguration(SalesforceChatterFeedConfiguration chatterFeedConfiguration)
Configuration information for Salesforce chatter feeds.
chatterFeedConfiguration - Configuration information for Salesforce chatter feeds.default SalesforceConfiguration.Builder chatterFeedConfiguration(Consumer<SalesforceChatterFeedConfiguration.Builder> chatterFeedConfiguration)
Configuration information for Salesforce chatter feeds.
This is a convenience method that creates an instance of theSalesforceChatterFeedConfiguration.Builder avoiding the need to create one manually via
SalesforceChatterFeedConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to chatterFeedConfiguration(SalesforceChatterFeedConfiguration).
chatterFeedConfiguration - a consumer that will call methods on SalesforceChatterFeedConfiguration.BuilderchatterFeedConfiguration(SalesforceChatterFeedConfiguration)SalesforceConfiguration.Builder crawlAttachments(Boolean crawlAttachments)
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
crawlAttachments - Indicates whether Amazon Kendra should index attachments to Salesforce objects.SalesforceConfiguration.Builder standardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfiguration standardObjectAttachmentConfiguration)
Configuration information for processing attachments to Salesforce standard objects.
standardObjectAttachmentConfiguration - Configuration information for processing attachments to Salesforce standard objects.default SalesforceConfiguration.Builder standardObjectAttachmentConfiguration(Consumer<SalesforceStandardObjectAttachmentConfiguration.Builder> standardObjectAttachmentConfiguration)
Configuration information for processing attachments to Salesforce standard objects.
This is a convenience method that creates an instance of theSalesforceStandardObjectAttachmentConfiguration.Builder avoiding the need to create one manually via
SalesforceStandardObjectAttachmentConfiguration.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to
standardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfiguration).
standardObjectAttachmentConfiguration - a consumer that will call methods on SalesforceStandardObjectAttachmentConfiguration.BuilderstandardObjectAttachmentConfiguration(SalesforceStandardObjectAttachmentConfiguration)SalesforceConfiguration.Builder includeAttachmentFilePatterns(Collection<String> includeAttachmentFilePatterns)
A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
includeAttachmentFilePatterns - A list of regular expression patterns to include certain documents in your Salesforce. Documents that
match the patterns are included in the index. Documents that don't match the patterns are excluded
from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern
takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
SalesforceConfiguration.Builder includeAttachmentFilePatterns(String... includeAttachmentFilePatterns)
A list of regular expression patterns to include certain documents in your Salesforce. Documents that match the patterns are included in the index. Documents that don't match the patterns are excluded from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
includeAttachmentFilePatterns - A list of regular expression patterns to include certain documents in your Salesforce. Documents that
match the patterns are included in the index. Documents that don't match the patterns are excluded
from the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern
takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
SalesforceConfiguration.Builder excludeAttachmentFilePatterns(Collection<String> excludeAttachmentFilePatterns)
A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
excludeAttachmentFilePatterns - A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that
match the patterns are excluded from the index. Documents that don't match the patterns are included
in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern
takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
SalesforceConfiguration.Builder excludeAttachmentFilePatterns(String... excludeAttachmentFilePatterns)
A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that match the patterns are excluded from the index. Documents that don't match the patterns are included in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
excludeAttachmentFilePatterns - A list of regular expression patterns to exclude certain documents in your Salesforce. Documents that
match the patterns are excluded from the index. Documents that don't match the patterns are included
in the index. If a document matches both an inclusion and exclusion pattern, the exclusion pattern
takes precedence and the document isn't included in the index.
The pattern is applied to the name of the attached file.
Copyright © 2023. All rights reserved.