Interface CfnDataSource.SalesforceStandardObjectConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSource.SalesforceStandardObjectConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSource
@Stability(Stable)
public static interface CfnDataSource.SalesforceStandardObjectConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration information for indexing a single standard object.
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();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnDataSource.SalesforceStandardObjectConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The name of the field in the standard object table that contains the document contents.default String
The name of the field in the standard object table that contains the document title.default Object
Maps attributes or field names of the standard object to Amazon Kendra index field names.getName()
The name of the standard object.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDocumentDataFieldName
The name of the field in the standard object table that contains the document contents.- See Also:
-
getName
The name of the standard object.- See Also:
-
getDocumentTitleFieldName
The name of the field in the standard object table that contains the document title.- See Also:
-
getFieldMappings
Maps attributes or field names of the standard object to Amazon Kendra index field names.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.- See Also:
-
builder
@Stability(Stable) static CfnDataSource.SalesforceStandardObjectConfigurationProperty.Builder builder()
-