Interface CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.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.cfnpropertymixins.services.kendra.*;
SalesforceStandardObjectConfigurationProperty salesforceStandardObjectConfigurationProperty = SalesforceStandardObjectConfigurationProperty.builder()
.documentDataFieldName("documentDataFieldName")
.documentTitleFieldName("documentTitleFieldName")
.fieldMappings(List.of(DataSourceToIndexFieldMappingProperty.builder()
.dataSourceFieldName("dataSourceFieldName")
.dateFieldFormat("dateFieldFormat")
.indexFieldName("indexFieldName")
.build()))
.name("name")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe name of the field in the standard object table that contains the document contents.default StringThe name of the field in the standard object table that contains the document title.default ObjectMaps attributes or field names of the standard object to Amazon Kendra index field names.default StringgetName()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:
-
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
UpdateIndexAPI 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.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSourcePropsMixin.DataSourceToIndexFieldMappingProperty>- See Also:
-
getName
The name of the standard object.- See Also:
-
builder
@Stability(Stable) static CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder builder()
-