public static interface CfnDataSource.SalesforceStandardObjectConfigurationProperty
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.kendra.*; SalesforceStandardObjectConfigurationProperty salesforceStandardObjectConfigurationProperty = SalesforceStandardObjectConfigurationProperty.builder() .documentDataFieldName("documentDataFieldName") .name("name") // the properties below are optional .documentTitleFieldName("documentTitleFieldName") .fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder() .dataSourceFieldName("dataSourceFieldName") .indexFieldName("indexFieldName") // the properties below are optional .dateFieldFormat("dateFieldFormat") .build())) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CfnDataSource.SalesforceStandardObjectConfigurationProperty.Builder
|
static class |
CfnDataSource.SalesforceStandardObjectConfigurationProperty.Jsii$Proxy
An implementation for
CfnDataSource.SalesforceStandardObjectConfigurationProperty |
Modifier and Type | Method and Description |
---|---|
static CfnDataSource.SalesforceStandardObjectConfigurationProperty.Builder |
builder() |
java.lang.String |
getDocumentDataFieldName()
The name of the field in the standard object table that contains the document contents.
|
default java.lang.String |
getDocumentTitleFieldName()
The name of the field in the standard object table that contains the document title.
|
default java.lang.Object |
getFieldMappings()
Maps attributes or field names of the standard object to Amazon Kendra index field names.
|
java.lang.String |
getName()
The name of the standard object.
|
java.lang.String getDocumentDataFieldName()
java.lang.String getName()
default java.lang.String getDocumentTitleFieldName()
default java.lang.Object getFieldMappings()
To create custom fields, use the UpdateIndex
API before you map to Salesforce fields. For more information, see Mapping data source fields . The Salesforce data source field names must exist in your Salesforce custom metadata.