Class CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kendra.CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.ConfluenceAttachmentConfigurationProperty>
- Enclosing interface:
- CfnDataSource.ConfluenceAttachmentConfigurationProperty
@Stability(Stable)
public static final class CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.ConfluenceAttachmentConfigurationProperty>
A builder for
CfnDataSource.ConfluenceAttachmentConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattachmentFieldMappings(List<? extends Object> attachmentFieldMappings) attachmentFieldMappings(IResolvable attachmentFieldMappings) build()Builds the configured instance.crawlAttachments(Boolean crawlAttachments) crawlAttachments(IResolvable crawlAttachments)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attachmentFieldMappings
@Stability(Stable) public CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder attachmentFieldMappings(IResolvable attachmentFieldMappings) Sets the value ofCfnDataSource.ConfluenceAttachmentConfigurationProperty.getAttachmentFieldMappings()- Parameters:
attachmentFieldMappings- Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI before you map to Confluence fields. For more information, see Mapping data source fields . The Confluence data source field names must exist in your Confluence custom metadata.If you specify the
AttachentFieldMappingsparameter, you must specify at least one field mapping.- Returns:
this
-
attachmentFieldMappings
@Stability(Stable) public CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder attachmentFieldMappings(List<? extends Object> attachmentFieldMappings) Sets the value ofCfnDataSource.ConfluenceAttachmentConfigurationProperty.getAttachmentFieldMappings()- Parameters:
attachmentFieldMappings- Maps attributes or field names of Confluence attachments to Amazon Kendra index field names. To create custom fields, use theUpdateIndexAPI before you map to Confluence fields. For more information, see Mapping data source fields . The Confluence data source field names must exist in your Confluence custom metadata.If you specify the
AttachentFieldMappingsparameter, you must specify at least one field mapping.- Returns:
this
-
crawlAttachments
@Stability(Stable) public CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder crawlAttachments(Boolean crawlAttachments) - Parameters:
crawlAttachments-TRUEto index attachments of pages and blogs in Confluence.- Returns:
this
-
crawlAttachments
@Stability(Stable) public CfnDataSource.ConfluenceAttachmentConfigurationProperty.Builder crawlAttachments(IResolvable crawlAttachments) - Parameters:
crawlAttachments-TRUEto index attachments of pages and blogs in Confluence.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSource.ConfluenceAttachmentConfigurationProperty>- Returns:
- a new instance of
CfnDataSource.ConfluenceAttachmentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-