@Stability(value=Stable)
public static interface CfnDataSource.SalesforceStandardObjectConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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() |
String |
getDocumentDataFieldName()
The name of the field in the standard object table that contains the document contents.
|
default String |
getDocumentTitleFieldName()
The name of the field in the standard object table that contains the document title.
|
default Object |
getFieldMappings()
Maps attributes or field names of the standard object to Amazon Kendra index field names.
|
String |
getName()
The name of the standard object.
|
@Stability(value=Stable) @NotNull String getDocumentDataFieldName()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getDocumentTitleFieldName()
@Stability(value=Stable) @Nullable default 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.
@Stability(value=Stable) static CfnDataSource.SalesforceStandardObjectConfigurationProperty.Builder builder()
Copyright © 2022. All rights reserved.