@Generated(value="software.amazon.awssdk:codegen") public final class SalesforceConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SalesforceConfiguration.Builder,SalesforceConfiguration>
Provides the configuration information to connect to Salesforce as your data source.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SalesforceConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SalesforceConfiguration.Builder |
builder() |
SalesforceChatterFeedConfiguration |
chatterFeedConfiguration()
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 to exclude certain documents in your Salesforce.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExcludeAttachmentFilePatterns()
For responses, this returns true if the service returned a value for the ExcludeAttachmentFilePatterns property.
|
int |
hashCode() |
boolean |
hasIncludeAttachmentFilePatterns()
For responses, this returns true if the service returned a value for the IncludeAttachmentFilePatterns property.
|
boolean |
hasStandardObjectConfigurations()
For responses, this returns true if the service returned a value for the StandardObjectConfigurations property.
|
List<String> |
includeAttachmentFilePatterns()
A list of regular expression patterns to include certain documents in your Salesforce.
|
SalesforceKnowledgeArticleConfiguration |
knowledgeArticleConfiguration()
Configuration information for the knowledge article types that Amazon Kendra indexes.
|
List<SdkField<?>> |
sdkFields() |
String |
secretArn()
The Amazon Resource Name (ARN) of an Secrets Managersecret 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()
Configuration information for processing attachments to Salesforce standard objects.
|
List<SalesforceStandardObjectConfiguration> |
standardObjectConfigurations()
Configuration of 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 final String serverUrl()
The instance URL for the Salesforce site that you want to index.
public final 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.
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.
public final boolean hasStandardObjectConfigurations()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<SalesforceStandardObjectConfiguration> standardObjectConfigurations()
Configuration of the Salesforce standard objects that Amazon Kendra indexes.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStandardObjectConfigurations() method.
public final 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.
public final SalesforceChatterFeedConfiguration chatterFeedConfiguration()
Configuration information for Salesforce chatter feeds.
public final Boolean crawlAttachments()
Indicates whether Amazon Kendra should index attachments to Salesforce objects.
public final SalesforceStandardObjectAttachmentConfiguration standardObjectAttachmentConfiguration()
Configuration information for processing attachments to Salesforce standard objects.
public final boolean hasIncludeAttachmentFilePatterns()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasIncludeAttachmentFilePatterns() method.
The pattern is applied to the name of the attached file.
public final boolean hasExcludeAttachmentFilePatterns()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasExcludeAttachmentFilePatterns() method.
The pattern 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.