Class CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.kendra.CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty>
- Enclosing interface:
CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty
@Stability(Stable)
public static final class CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.documentTitleFieldName(String documentTitleFieldName) fieldMappings(List<? extends Object> fieldMappings) fieldMappings(IResolvable fieldMappings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
documentTitleFieldName
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.Builder documentTitleFieldName(String documentTitleFieldName) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.getDocumentTitleFieldName()- Parameters:
documentTitleFieldName- The name of the field used for the document title.- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.Builder fieldMappings(IResolvable fieldMappings) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.getFieldMappings()- Parameters:
fieldMappings- One or more objects that map fields in attachments to Amazon Kendra index fields.- Returns:
this
-
fieldMappings
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.Builder fieldMappings(List<? extends Object> fieldMappings) Sets the value ofCfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty.getFieldMappings()- Parameters:
fieldMappings- One or more objects that map fields in attachments to Amazon Kendra index fields.- Returns:
this
-
build
@Stability(Stable) public CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty>- Returns:
- a new instance of
CfnDataSourcePropsMixin.SalesforceStandardObjectAttachmentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-