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