public static final class CfnDataSource.SalesforceConfigurationProperty.Builder
extends java.lang.Object
CfnDataSource.SalesforceConfigurationProperty
Constructor and Description |
---|
Builder() |
public CfnDataSource.SalesforceConfigurationProperty.Builder secretArn(java.lang.String secretArn)
CfnDataSource.SalesforceConfigurationProperty.getSecretArn()
secretArn
- The Amazon Resource Name (ARN) of an AWS Secrets Manager secret that contains the key/value pairs required to connect to your Salesforce instance. This parameter is required.
The secret must contain a JSON structure with the following keys:
this
public CfnDataSource.SalesforceConfigurationProperty.Builder serverUrl(java.lang.String serverUrl)
CfnDataSource.SalesforceConfigurationProperty.getServerUrl()
serverUrl
- The instance URL for the Salesforce site that you want to index. This parameter is required.this
public CfnDataSource.SalesforceConfigurationProperty.Builder chatterFeedConfiguration(IResolvable chatterFeedConfiguration)
chatterFeedConfiguration
- Configuration information for Salesforce chatter feeds.this
public CfnDataSource.SalesforceConfigurationProperty.Builder chatterFeedConfiguration(CfnDataSource.SalesforceChatterFeedConfigurationProperty chatterFeedConfiguration)
chatterFeedConfiguration
- Configuration information for Salesforce chatter feeds.this
public CfnDataSource.SalesforceConfigurationProperty.Builder crawlAttachments(java.lang.Boolean crawlAttachments)
CfnDataSource.SalesforceConfigurationProperty.getCrawlAttachments()
crawlAttachments
- Indicates whether Amazon Kendra should index attachments to Salesforce objects.this
public CfnDataSource.SalesforceConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments)
CfnDataSource.SalesforceConfigurationProperty.getCrawlAttachments()
crawlAttachments
- Indicates whether Amazon Kendra should index attachments to Salesforce objects.this
public CfnDataSource.SalesforceConfigurationProperty.Builder excludeAttachmentFilePatterns(java.util.List<java.lang.String> excludeAttachmentFilePatterns)
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.
this
public CfnDataSource.SalesforceConfigurationProperty.Builder includeAttachmentFilePatterns(java.util.List<java.lang.String> includeAttachmentFilePatterns)
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.
this
public CfnDataSource.SalesforceConfigurationProperty.Builder knowledgeArticleConfiguration(IResolvable knowledgeArticleConfiguration)
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
public CfnDataSource.SalesforceConfigurationProperty.Builder knowledgeArticleConfiguration(CfnDataSource.SalesforceKnowledgeArticleConfigurationProperty knowledgeArticleConfiguration)
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
public CfnDataSource.SalesforceConfigurationProperty.Builder standardObjectAttachmentConfiguration(IResolvable standardObjectAttachmentConfiguration)
CfnDataSource.SalesforceConfigurationProperty.getStandardObjectAttachmentConfiguration()
standardObjectAttachmentConfiguration
- Configuration information for processing attachments to Salesforce standard objects.this
public CfnDataSource.SalesforceConfigurationProperty.Builder standardObjectAttachmentConfiguration(CfnDataSource.SalesforceStandardObjectAttachmentConfigurationProperty standardObjectAttachmentConfiguration)
CfnDataSource.SalesforceConfigurationProperty.getStandardObjectAttachmentConfiguration()
standardObjectAttachmentConfiguration
- Configuration information for processing attachments to Salesforce standard objects.this
public CfnDataSource.SalesforceConfigurationProperty.Builder standardObjectConfigurations(IResolvable standardObjectConfigurations)
standardObjectConfigurations
- Configuration of the Salesforce standard objects that Amazon Kendra indexes.this
public CfnDataSource.SalesforceConfigurationProperty.Builder standardObjectConfigurations(java.util.List<? extends java.lang.Object> standardObjectConfigurations)
standardObjectConfigurations
- Configuration of the Salesforce standard objects that Amazon Kendra indexes.this
public CfnDataSource.SalesforceConfigurationProperty build()
CfnDataSource.SalesforceConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided