Class CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.documentDataFieldName(String documentDataFieldName) documentTitleFieldName(String documentTitleFieldName) fieldMappings(List<? extends Object> fieldMappings) fieldMappings(IResolvable fieldMappings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentDataFieldName
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder documentDataFieldName(String documentDataFieldName) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.getDocumentDataFieldName()- Parameters:
documentDataFieldName- The name of the field in the standard object table that contains the document contents.- Returns:
this
-
documentTitleFieldName
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.getDocumentTitleFieldName()- Parameters:
documentTitleFieldName- The name of the field in the standard object table that contains the document title.- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.getFieldMappings()- Parameters:
fieldMappings- Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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:
this
-
fieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.getFieldMappings()- Parameters:
fieldMappings- Maps attributes or field names of the standard object to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI 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:
this
-
name
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty.Builder name(String name) - Parameters:
name- The name of the standard object.- Returns:
this
-
build
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.SalesforceStandardObjectConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-