@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceConfiguration.Builder,SalesforceConfiguration>
Provides configuration information for connecting to a Salesforce data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceConfiguration.Builder |
builder() |
SalesforceChatterFeedConfiguration |
chatterFeedConfiguration()
Specifies configuration information for Salesforce chatter feeds.
|
Boolean |
crawlAttachments()
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
excludeAttachmentFilePatterns()
A list of regular expression patterns.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeAttachmentFilePatterns()
Returns true if the ExcludeAttachmentFilePatterns property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasIncludeAttachmentFilePatterns()
Returns true if the IncludeAttachmentFilePatterns property was specified by the sender (it may be empty), or
false if the sender did not specify the value (it will be empty).
|
boolean |
hasStandardObjectConfigurations()
Returns true if the StandardObjectConfigurations property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
List<String> |
includeAttachmentFilePatterns()
A list of regular expression patterns.
|
SalesforceKnowledgeArticleConfiguration |
knowledgeArticleConfiguration()
Specifies configuration information for the knowlege article types that Amazon Kendra indexes.
|
List<SdkField<?>> |
sdkFields() |
String |
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.
|
static Class<? extends SalesforceConfiguration.Builder> |
serializableBuilderClass() |
String |
serverUrl()
The instance URL for the Salesforce site that you want to index.
|
SalesforceStandardObjectAttachmentConfiguration |
standardObjectAttachmentConfiguration()
Provides configuration information for processing attachments to Salesforce standard objects.
|
List<SalesforceStandardObjectConfiguration> |
standardObjectConfigurations()
Specifies the Salesforce standard objects that Amazon Kendra indexes.
|
SalesforceConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String serverUrl()
The instance URL for the Salesforce site that you want to index.
public String 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. 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 account logging in to the Salesforce instance.
username - The user name of the user logging in to the Salesforce instance.
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 account logging in to the Salesforce instance.
username - The user name of the user logging in to the Salesforce instance.
public boolean hasStandardObjectConfigurations()
public List<SalesforceStandardObjectConfiguration> standardObjectConfigurations()
Specifies the Salesforce standard objects that Amazon Kendra indexes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasStandardObjectConfigurations() to see if a value was sent in this field.
public SalesforceKnowledgeArticleConfiguration knowledgeArticleConfiguration()
Specifies configuration information for the knowlege 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.
public SalesforceChatterFeedConfiguration chatterFeedConfiguration()
Specifies configuration information for Salesforce chatter feeds.
public Boolean crawlAttachments()
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
public SalesforceStandardObjectAttachmentConfiguration standardObjectAttachmentConfiguration()
Provides configuration information for processing attachments to Salesforce standard objects.
public boolean hasIncludeAttachmentFilePatterns()
public List<String> includeAttachmentFilePatterns()
A list of regular expression patterns. 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 pattern and an exclusion pattern, the document is not included in the index.
The regex is applied to the name of the attached file.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIncludeAttachmentFilePatterns() to see if a value was sent in this field.
The regex is applied to the name of the attached file.
public boolean hasExcludeAttachmentFilePatterns()
public List<String> excludeAttachmentFilePatterns()
A list of regular expression patterns. 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 exclusion pattern and an inclusion pattern, the document is not included in the index.
The regex is applied to the name of the attached file.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExcludeAttachmentFilePatterns() to see if a value was sent in this field.
The regex is applied to the name of the attached file.
public SalesforceConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SalesforceConfiguration.Builder,SalesforceConfiguration>public static SalesforceConfiguration.Builder builder()
public static Class<? extends SalesforceConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.